Thickbox should get the image title/description from the link title attribute. The template in maxigallery wiki has all in place, so you should see the titles and descriptions in thickbox by default. You don’t have to modify thickbox.js at all.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
The title displays fine for the thumbnail alt-tag, but when the large image opens I don’t get either the title or the description underneath the image...
Is the site online, can you give a link to it?
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Doze, I’ve sent you a personal message with the login details.
Try changing your galleryPictureTpl to this:
<li>
<a href="[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]" class="thickbox" title="[+maxigallery.picture.title:htmlent+] - [+maxigallery.picture.descr:htmlent+]" 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>
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Quote from: cmuluna at Feb 07, 2009, 06:35 PM
Doze: I noticed that you used the code in your response. That’s PHx, correct? Is PHx supported in MaxiGallery without me installing PHx? Or do I need to install PHx to get that to work in MaxiGallery? Thank you for your help to someone learning MODx.
If PHx is not installed as a plugin, MaxiGallery will use it’s own PHx class to render the output, so no, you don’t need to have PHx installed.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."