Support » Plugins » nextgen-gallery – no title in shutter pop-up?

  • I’ve spent hours trying to figure this out, and it just won’t work. Is there a way to not only show the description text below the image using the Shutter setting in NextGen gallery, but to also show the alttext?

    I’m pretty sure that the Shutter setting (controlled by shutter-reloaded.js) does not ever get the alttext value from the database, only something called the title, which for whatever reason is actually the description box in NextGen Gallery.

    Anyone have any experience with this? The code in shutter-reloaded.js is:

    NavBar = '<div id="shTitle"><div id="shPrev">' + prevlink + '</div><div id="shNext">' + nextlink + '</div><div id="shName">' + shutterLinks[ln].title + '</div>' + imgNum + '</div>';

    where shutterLinks[ln].title is the text that comes in on your NextGen navbar in the Shudder setting. Is there any way to get the NextGen alttext in there too?

Viewing 1 replies (of 1 total)
  • I looked everywhere for a solution for this but no luck, so I came up with a hack (works for “tickbox” effect only, as far as I know). You were on the right track, but shutter-reloaded.js doesn’t directly read the image data. In fact the relevant javascript file is tickbox.js, but even that one just pulls its data from the title attribute of the tumbnail image’s “a” tag. So, the solution is to modify the data that gallery.php puts into the “a” tags.

    More information, example, and code here:

    Hope this helps.

Viewing 1 replies (of 1 total)
  • The topic ‘nextgen-gallery – no title in shutter pop-up?’ is closed to new replies.