Hi Everyone,
Forgive me, I'm not a PHP guru. I'm typically a designer, not a programmer.
I'm trying to figure out how to number the bottom of each photo in the album section of the gallery. So, under each photo thumbnail, it should read "1", "2", "3" etc... Does anyone know what I can add to dynamically generate the numbers chronologically under each thumbnail?
Thank you so much for your help!
Posts: 16504
You mean like "photo 1 of 10" or what are you looking for?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 4
Yes, except without the text. Just the single number. So the album will show a row of thumbnail images. Under each image will be a single number. The first image will be titled "1" and the second image "2" and so on. I know on each individual photo it says "Photo 1 of 10" and tried to adapt that into the album display, but with no success.
Let me know if that didn't make sense. Thanks!
Posts: 4
Been fiddling with it some more, but no success. I tried adding pieces with $position, but haven't found a way to make it work yet.
Posts: 7994
Sure. Edit themes/wind/views/album.html.php and change this:
to:
Note the new lines at #11 and #28. Note also that you really want to make your own theme and not modify the wind theme else when there's an upgrade your changes will be lost. http://codex.gallery2.org/Gallery3:Themes#Modifying_the_Default_Theme
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git
Posts: 4
Thank you so much! That worked like a charm. I really appreciate it!