Display var $displayname; beneath a tumbnail

Does anyone know where I can modify my thumbnail appearence
so that I have my thumbs displayed an beneath it I havethe filename without extention....

In the reply please show me a codeexample

Comments

  • We will probably not code this for you. You can make the change yourself, probably without not too much trouble. But first you will need to familiarize yourself with the Zenphoto theming tutorial on the WEB site.
  • THX, but could you tell me in which php file I can find the decalration of the tumb.obj. I have been looking inside the image-class php file but didn´t find the exact line, maybe you could help me here
  • acrylian Administrator, Developer
    Why do you need to find the declaration? If you have reviewed the theming tutorial also review the object model tutorial.
  • So I did - and THX to both of your replys I found a way to it. THX both of you :-) :-)

    <div id="images">

    <?php while (next_image(false, $firstPageImages)): ?>

    <div class="image">

    <div class="imagethumb">" title="<?php echo getBareImageTitle();?>"><?php printImageThumb(getAnnotatedImageTitle()); ?><p align="center"><?php echo getBareImageTitle();?></p></div>

    </div>

    <?php endwhile; ?>
  • THX to both of you I found a soloution :-))

    (((
    <div id="images">

    <?php while (next_image(false, $firstPageImages)): ?>

    <div class="image">

    <div class="imagethumb">" title="<?php echo getBareImageTitle();?>"><?php printImageThumb(getAnnotatedImageTitle()); ?><p align="center"><?php echo getBareImageTitle();?></p></div>

    </div>

    <?php endwhile; ?>
    )))
  • This is what worked for me on album.php version zenphoto-1.4.2.3
    Specifically adding the last two lines after this line..
    <?php printImageThumb(getAnnotatedImageTitle()); ?>

    <p align="center">
    <?php echo getBareImageTitle();?></p>
Sign In or Register to comment.