Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorcrazymusic
    • CommentTimeOct 11th 2007
     
    Hi,

    I was wondering how to enable the name under the thumbnails in the albums, so you would know which one you were clicking on. I've seen it done in some other galleries but can not for the life of me find out how. Any help is greatly appreciated.

    Thanks so much in advance!
    • CommentAuthorcrazymusic
    • CommentTimeOct 11th 2007
     
    I figured it out!

    I copied the code from the picture.php file and pasted it where I wanted it into the album.php

    $capt = plogger_get_picture_caption();
    print $capt;

    Putting the print $capt; where I wanted the caption to show up.

    Thanks everyone.
    • CommentAuthornhoncoop
    • CommentTimeNov 27th 2007 edited
     
    This fucntion didn't work, I don't understand why, can someone help me. Here below is my script.

    <?php plogger_get_header(); ?>

    <div id="thumbnail-container" class="clearfix">

    <?php if (plogger_has_pictures()) : ?>

    <ul class="slides clearfix">

    <?php while(plogger_has_pictures()) : ?>

    <?php plogger_load_picture();
    // set variables for the album
    $capt = plogger_get_picture_caption();
    // find thumbnail width
    $thumb_info = plogger_get_thumbnail_info();
    $thumb_width = $thumb_info[0]; // The width of the image. It is integer data type.
    $thumb_height = $thumb_info[1]; // The height of the image. It is an integer data type.
    ?>


    <li class="thumbnail">

    print $capt;

    <a href="<?php echo plogger_get_picture_url(); ?>"><img id="thumb-<?php echo plogger_get_picture_id(); ?>" class="photos" src="<?php echo plogger_get_picture_thumb(); ?>" width="<?php echo $thumb_width; ?>px" height="<?php echo $thumb_height; ?>px" title="<?php echo $capt; ?>" alt="<?php echo $capt; ?>"/></a>

    <div class="checkbox"><?php echo plogger_download_checkbox(plogger_get_picture_id()); ?></div>

    <p style="width:<?php echo $thumb_width; ?>px;"><?php echo $capt; ?></p>

    </li>



    <?php endwhile; ?>

    </ul>

    <?php else : ?>

    <div id="no-pictures-msg">There are no pictures in this album.</div>

    <?php endif; ?>

    </div>


    <?php plogger_get_footer(); ?>
    • CommentAuthornhoncoop
    • CommentTimeNov 27th 2007
     
    Problem solved, i make changes in the wrong script (plogger\themes\Air\album.php) but you have to use plogger\themes\default\highslde.php and change all the description things into caption things.