Member
Member
andersholm   2007-02-14, 09:18
#1
Hi, really simple question. On the album index pages(where the thumbs are) i want picture titles listed below. Surprisingly i could not find this topic in the forum, maybe it is just ridiculously simple. Could anyone help out?

So what i want are titles under these: http://mylla.no/galleriet2/index.php?album=kroatia

PS. Thats not me hunting, doing this for a traveling-agency :-)
Developer
Developer
trisweb   2007-02-14, 10:11
#2
In the `while(next_image()):` loop, just use the `printImageTitle()` function :-)
Member
Member
andersholm   2007-02-14, 12:20
#3
Hi! Thanks alot for the quick respons - but, one question:

like this ? <?php while (next_image() printImageTitle()): ?>
because that does not really work
Member
Member
bitbybit   2007-02-14, 13:40
#4
If you add it after the `while(next_image()):` line you should be okay. Eg:

`<?php while (next_image()): ?>

<?php printImageTitle(); ?>`

You can move the printImageTitle line around to suit your needs (to put it into a div/span/etc), just make sure the line ends up between the `<?php while (next_image()): ?>` and `<?php endwhile; ?>` lines Smile
Member
Member
andersholm   2007-02-14, 15:08
#5
Thanks alot! Everything working fine now. Great Gallery!
Developer
Developer
trisweb   2007-02-14, 20:31
#6
Thanks bitbybit, I wasn't being very clear in my description :-)
Member
Member
alpha387   2011-10-11, 15:10
#7
What file in what directory would I be changing to do this? I can't find this While statement.
Administrator
Administrator
acrylian   2011-10-11, 15:41
#8
Please read the theming tutorial.
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.