Titles in the album index

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 :-)

Comments

  • trisweb Administrator
    In the `while(next_image()):` loop, just use the `printImageTitle()` function :-)
  • Hi! Thanks alot for the quick respons - but, one question:

    like this ? <?php while (next_image() printImageTitle()): ?>
    because that does not really work
  • 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 :)
  • Thanks alot! Everything working fine now. Great Gallery!
  • trisweb Administrator
    Thanks bitbybit, I wasn't being very clear in my description :-)
  • What file in what directory would I be changing to do this? I can't find this While statement.
  • acrylian Administrator, Developer
    Please read the theming tutorial.
Sign In or Register to comment.