10375 Posts in 2190 Topics by 1707 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 860 Views |
-
ID of image in gallery

21 May 2010 at 4:14am Last edited: 21 May 2010 4:15am
Hi
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 imagesThe 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
| 860 Views | ||
|
Page:
1
|
Go to Top |

