Not signed in (Sign In)

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

    • CommentAuthorLsprout
    • CommentTimeMay 31st 2008
     
    Can I display the Caption under the Thumbnail? Like it does at the Album level.
    Thanks
    •  
      CommentAuthorsidtheduck
    • CommentTimeMay 31st 2008
     
    Sure you can, Lsprout!

    You just need to add the HTML tags you want it wrapped in (either a div or a span or a td, whatever you are using), then just call the functions echo plogger_get_picture_caption();
    -or-
    print plogger_get_picture_caption();
    for the caption orecho plogger_get_picture_description();
    -or-
    print plogger_get_picture_description();
    for the description.
    • CommentAuthoramasters
    • CommentTimeJun 5th 2008
     
    I also want to use captions on the thumbnail but I'm not sure how to implement sidtheduck's advice. Am I to wrap the caption in a tag? I can do that if that's what is called for. My second question is more confusing to me. . . How do I call the function?

    Thanks,
    Anne
    •  
      CommentAuthorsidtheduck
    • CommentTimeJun 5th 2008
     
    Anne,

    In the theme directory, under the theme you are using, if you enter the code in your 'album.php' file (within the "pictures" loop):<?php echo plogger_get_picture_description() ?>that will output the description for the thumbnail. If you want the description in a <div> tag, then an example of your code could look like:<div class="thumb-description">
    <?php echo plogger_get_picture_description() ?>
    </div>


    Does that make sense?
    • CommentAuthoramasters
    • CommentTimeJun 5th 2008
     
    Yes, thanks, that makes great sense. Thanks for responding so quickly!

    Anne
    •  
      CommentAuthorsidtheduck
    • CommentTimeJun 5th 2008
     
    No problem! Let us know if you run into any other issues! :D