Not signed in (Sign In)

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

    • CommentAuthorsangho1uk
    • CommentTimeAug 5th 2008
     
    Hi peeps,

    Can anyone help me? I have Plogger v3.0 working with lightbox, Im trying to limit the amount of images/pictures (4 or 5) on each rows but having some problems. Here are the codes for the page: thanks.

    <?php
    plogger_get_header();
    print '<div id="thumbnail_container">';
    if (plogger_has_pictures()) {
    print '<div id="overlay2">&nbsp;</div>';
    print '<ul class="slides">';

    while(plogger_has_pictures()) {

    plogger_load_picture();

    // display thumbnails within album
    // generate XHTML with thumbnail and link to picture view.

    $capt = plogger_get_picture_caption();
    $img_id = "thumb-".plogger_get_picture_id();
    $imgtag = '<img id="' . $img_id
    . '" onmouseout="document.getElementById(\'overlay2\').style.visibility = \'hidden\';"
    onmouseover="display_overlay2(\''.$img_id.'\', \''.plogger_picture_comment_count().'\')" class="photos"
    src="'.plogger_get_picture_thumb().'" title="'.$capt.'" alt="'.$capt.'" />';
    if (lightbox_on()) {
    print '<li class="thumbnail">yyyh<div class="tag"><a href="'.plogger_get_source_picture_url().'" title="'.$capt.'" rel="lightbox[test]" >' . $imgtag . "</a><br />";
    }
    else{
    print '<li class="thumbnail"><div class="tag"><a href="' . plogger_get_picture_url() . '" >' . $imgtag . "</a><br />";
    }
    print plogger_download_checkbox(plogger_get_picture_id());

    print '</div></li>';
    }


    print '</ul>';
    }
    else{
    print '<div id="no-pictures-msg">There are no pictures in this album.</div>';
    }

    print '</div>';
    plogger_get_footer();

    ?>