Hi
I'm on Gallery 2.2.4 core 1.2.0.6
And I was wondering why I cant get the photo page to display the image name?
Lets say my image in aperture is image101.jpg , I upload to gallery with a few metatags added. No matter where I look in gallery I cant see the filename image101.jpg. I have been unable to find a setting that covers this.
It woul be useful if someone wnats the original for them to be able to say..send me image101.jpg for instance.
I'm guessing there is something elementary I am missing
Thanks
Posts: 16503
First, I'd suggest upgrading. 2.2.4 is very old and has known security issues that have since been fixed:
FAQ: How to upgrade Gallery2?
Second, a link to your site or a screenshot would be very helpful. Where are you expecting this information to be displayed? Which theme are you using? etc...
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 6
Uppgrading done running latest stable.
As for the theme, I'm using Carbon.
As its stands today if I set a title for a picture that title is displayed in the breadcrumbs upper right corner of screen. If I set no title the name of the file is shown in the bredcrumbtale.
In other words you can see "Albumname>>albumname>>picturetitle but not Albumname>>albumname>>filename
That in itself if ok with me, but I would want the name of the file to be displayed somewhere on the photopage. In the breadcrumb would be great but if not there then somewhere. Is this really not possible?
Posts: 16503
On upload there are several settings. You can set the title to be the filename for one. All of those things you're asking use the title by default and changing that could be a bit of work digging into the code.
If you just want the filename displayed somewhere on the page, you can try editing your template file, photo.tpl
http://codex.gallery2.org/Gallery2:Editing_Templates
And adding {$theme.item.pathComponent} to the part of the page you'd want. If you really want that in the breadcrumb there's other work to be done.
AH, I just took a look at /modules/core/templates/blocks/BreadCrumb.tpl and it looks like you could probably change $theme.item.title to $theme.item.pathComponent I didn't test that, it may or may not work.
Also, see the link above about editing templates and even steps on copying your changes for BreadCrumb.tpl into your theme's directory so future re-installs (if you ever have to do that) don't overwrite your changes.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 6
Thanks for the tip.. I'll give it a whirl and see if it works
Posts: 6
Changing BreadCrumb.tpl worked like a charm!