10931 Posts in 2614 Topics by 1810 members
|Go to End|
21 May 2010 at 4:14am Last edited: 21 May 2010 4:15am
I am using the image_gallery module in lightbox mode.
When you hover over the image, the image ID is set as its alt tag. However this is not relative to the gallery it is in, but relative to its position across all galleries. So, for example:
Gallery 1 - 5 images
Gallery 2 - 4 images
Gallery 3 - 6 images
The image in the 2nd position in gallery 3, has the ID of 12 - however, I would like to show the ID of 2
When you click on the image, activating the lightbox, it then shows Image 2 of 14, however, I think this is a function in the JS rather than in the image_gallery code.
Could someone let me know how I may be able to write a function to allow this?
Thanks in advance
|Go to Top|