I'm using cmsms 1.6.6 and Gallery 1.2.1 with the Fancybox template.
It's very nice but I have an issue: if I don't give an image a title, it will display the filename under the picture. I don't think this is very pretty. If I don't give the image a title then I don't want it to display a title. Does someone know the solution for this?
Gallery image titles/file names
Gallery image titles/file names
Last edited by Elise on Sun May 09, 2010 6:58 pm, edited 1 time in total.
Re: Gallery image titles/file names
In Gallery 1.2.1 it will be hard to accomplish if there are some images you give titles and some you don't. (if none of the images get titles, then you could easily delete the {$image->title} from the module-template)
However today I released version 1.3 and I noticed your request just in time to include it.
As of version 1.3 the $image->title variable will only contain the value of the title field.
I added $image->titlename which contains the filename when the title is empty.
However today I released version 1.3 and I noticed your request just in time to include it.
As of version 1.3 the $image->title variable will only contain the value of the title field.
I added $image->titlename which contains the filename when the title is empty.
Re: Gallery image titles/file names
That is great! Thank you so much!
Re: Gallery image titles/file names
I've upgraded my Galleryversion to 1.3 but still have the same issue....
Re: Gallery image titles/file names
I'm sorry, I notice it too now...
In one way or the other the wrong file got included
For now you can use $image->title_ (note the underscore)
In one way or the other the wrong file got included
For now you can use $image->title_ (note the underscore)
Re: Gallery image titles/file names
I'm sorry, but $image->title_ doesn't work either
Re: Gallery image titles/file names
All right, got it working now.
Thanks for helping.
Thanks for helping.
Last edited by Elise on Mon May 10, 2010 11:43 am, edited 1 time in total.