I have a MaxiGallery system going with latest version of MG.
I am making things more complicated by using three jQuery scripts on each page. I am using the new Fancybox script to display the images within the MaxiGallery system. I finally got it all working nicely.
One thing though: when the full size images are displayed with Fancybox there is a Title text box at the bottom of the image. If there is no title created when uploading the image with MaxiGallery the Title box still displays the words "click to zoom" which I don’t want. If I add a real title while uploading the image with MaxiGallery the Title box will display the title AND the words "click to zoom." Again I do not want these words to appear.
Also, If I add a caption during the MaxiGallery upload process the caption will not appear. The title will appear though.
This is the template I am using to activate the Fancybox script:
<li class="image_gallery">
<a href="[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]" class="fancybox" rel="gallery">
<img src="[(base_url)][+maxigallery.path_to_gal+]tn_[+maxigallery.picture.filename+]" class="thumbnail" title="[+maxigallery.picture.title:htmlent+]
[+maxigallery.strings.click_to_zoom+]" alt="[+maxigallery.picture.title:htmlent+] [+maxigallery.strings.click_to_zoom+]" />
</a>
[+maxigallery.picture.title:isnot=``:then=`
<p style="width: [+maxigallery.picture_width_thumb+]px;">
[+maxigallery.picture.title:htmlent+]
</p>
`+]
</li>
Removing the last strings.click_to_zoom removes the unwanted "click to zoom" words but then displays a still unwanted empty text box below the image. Is there a way I can edit this template so that the Title box and caption box will display ONLY when there is a real Title and Caption entered with the image file?
I hope explained this correctly?
Thanks!