Not signed in (Sign In)

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

    • CommentAuthormster5
    • CommentTimeJul 9th 2008
     
    I was wondering if anyone knew how to get the captions or the descriptions to show up during the Album Gallery where you see all the pictures? Currently it only shows them in full picture mode. Any help would be awesome. Thanks

    Jay
    •  
      CommentAuthorkimparsell
    • CommentTimeJul 9th 2008
     
    Hi Jay -

    Which theme are you using? If you let me know that, I can post the code that you'll need to add the captions on the album pages.
    • CommentAuthormster5
    • CommentTimeJul 9th 2008
     
    Hi Kim,

    Currently I am using the default theme on version 3.0. Thanks for your help on this.

    Jay
    •  
      CommentAuthorkimparsell
    • CommentTimeJul 9th 2008
     
    You need to open album.php from the default theme and look around line 22 for the following code:

    print '<li class="thumbnail"><div class="tag"><a href="' . plogger_get_picture_url() . '">' . $imgtag . "</a><br />";

    Replace that code with the following:

    print '<li class="thumbnail"><div class="tag"><a href="' . plogger_get_picture_url() . '">' . $imgtag . '</a><br />
    <span>' . plogger_get_picture_caption() . '</span>';


    That should allow the caption to be shown under the thumbnails on the album page.
    •  
      CommentAuthor_Eric_
    • CommentTimeJul 10th 2008
     
    Using $capt instead of plogger_get_picture_caption() should work as well because the caption is already loaded in line 15.
    • CommentAuthormster5
    • CommentTimeJul 10th 2008
     
    Thank you all both for your help! Worked perfectly. I love plogger!