Not signed in (Sign In)

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

    I'd like to add the Album Description to the album.php page to display just below the picture thumbnails on the album page - as opposed to having it display on the collections page. Has anyone found a way to do this?

    Thanks very much for all the help so far. Plogger rocks.
    • CommentAuthorchewbears
    • CommentTimeJan 20th 2009
    I really do not know what you are asking. If you could send a link to the page you are refering. I am assuming you have entered a desc. in the plogger upon uploading? If you have the link post it and I am sure I can help you out.
    Sorry for the confusion. I'm using the default theme and I'm hoping to add the Album Description to the Album page such as here:

    Currently, the album description in the default theme shows up only on the Collection level (when you hover over an album thumbnail), but not at the Album level. Does that help clarify my question?
    • CommentAuthorchewbears
    • CommentTimeJan 21st 2009
    Alright your break down is like this
    Your collection is here : nothing
    Your first albums are here : HOver over is Album artist name
    your pictures are here : Hover over is untitled landscape (something like that)
    invidual example here : Hover over is untitle landscape (something like that)

    So what do you want and where based on this, sorry I am a tad bit lost as all for me have a hover over.
    I'm not trying to create another hover over. Instead of the hover, I would like to have the Album Description appear just below the picture thumbnails at the bottom of this page:

    By default in this theme, the Album Description would normally appear in a hover over on this page:

    However, I've changed that page to display the Album (artist name) when you hover because our Album Descriptions are long. That's why I'd like to have the Album Description display at the bottom of the album page instead of at the collection level.
    • CommentAuthorchewbears
    • CommentTimeJan 21st 2009

    Your Album.php should have something like the below (sorry I do not have the defualt anymore to view)

    $capt = plogger_get_EXIF_subj_ref();

    Of course your $capt will not = plogger_get_EXIF_sub_ref(); because my caption is catered to my needs. So if you want to change that mouseover to something else you can great a plogger_get function in plog_function.php and do so. To remove the mouseover so you have nothing there if you mouse over simply remove that line and the mouseover lines from your album.

    If you want to add the Album Descripition below you have to do the following (again I am pretending the album description you want to use from you database is call album_desc It probably is not called this but I am sure you will see what I mean when I post below.

    First you have to add a get function to plogger functions. This will allow you to call the values from the respective location in the database.

    So open plog_function.php and add (find the get_functions by just searching the later and it will put you there, while it can be placed anywhere I like to keep the close for finding them when I forget where they are)

    function plogger_get_album_desc() {
    $row = $GLOBALS["current_picture"];
    return $row["album_desc"];

    The above function will allow you to find the album description for the current album you are looking at.

    Then you want to open your album.php


    $album_desc = plogger_get_album_desc();

    Add that with the other $ stuff. This will give a name to your function so you can just call it with the $album_desc name

    Then below the mouse over stuff add

    print ' '. $album_desc . ' ' ;

    The above will print the album desc below the album picture.

    Hope this helps
    • CommentAuthorchewbears
    • CommentTimeJan 21st 2009
    one other thing. If you want to use the descriptions but they are too long and not wrapping properly you can check this out too
    Thanks for your help, but that's not exactly what I'm trying to do. I don't want the album description to appear below the album thumbnails, but rather at the bottom of the album.php page below the thumbnail container before the footer.

    So, I want the album description at the bottom of this page:

    I can't seem to get that to work. Here's what I've tried so far:

    in plog_function.php I have the following get function:

    function plogger_get_album_description() {
    return htmlspecialchars(SmartStripSlashes($GLOBALS["current_album"]["description"]));

    Then in my album.php, i've added the following between the </div> for the thumbnail container and the footer:
    print '<p>' . plogger_get_album_description() . '</p>';

    Unfortunately, I can't get the album description to display. Do you have other suggestions for me? I really need to get the album information to appear on this page.

    Thanks for all your help so far,
    Hi Kerri

    I have just been trying to work out how to do this for hours - I finally got it working so thought I would share my solution with you!!!

    I added a new function into plog-functions.php:

    function plogger_get_description() {
    $row = get_album_by_id($GLOBALS['plogger_id']);
    $album_description = SmartStripSlashes($row["description"]);
    return $album_description;

    Then called this function from the album.php page (just under the plogger_get_header() bit:
    $desc = plogger_get_description();

    Then you can use the $desc variable to print the album description whereever you want it on the page:
    print '<p>'.$desc.'</p>';

    If you need any help feel free to give me a shout, see it working on one of my album pages here:

    All the best,
    • CommentAuthordime
    • CommentTimeApr 4th 2009
    This is great Lynda, thank you very much! I wanted this feature almost two years ago but didn't succeed to make it works.

    Again, thank you!
    Thankful People:
    thank you, Lynda!!
    • CommentAuthorcmedia
    • CommentTimeMay 2nd 2009 edited
    Lynda, thank you VERY MUCH, i needed this feature too and work very nice.
    • CommentAuthorrozeykex
    • CommentTimeOct 13th 2009
    this was really handy, thanks lynda was exactly what i was looking for and i've been able to add more things in now too XD