Not signed in (Sign In)

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

    • CommentAuthorMadEagle
    • CommentTimeJul 11th 2007
     
    Hi everyone!

    I just installed Plogger for the first time and liked it from the beginning. There is one thing though. If I view a slideshow it only shows me the pics of the currently displayed page but I would like to see a slideshow of the complete album.

    I could theoretically set the number of pics displayed on one page to a number high enough so that all my albums fit on one page but I rather wouldn't do that.

    Any idea?

    Thanks, MadEagle
    •  
      CommentAuthormike
    • CommentTimeJul 11th 2007
     
    This should be fixed in the latest version...
    • CommentAuthornnemer
    • CommentTimeAug 17th 2007
     
    Hello Mike -
    is this fixed in 3.0 beta? can it do a slideshow for the entire album instead of just 1 page of the album, please? if so - how do i tell it to use the entire album, please?
    thanks,
    nicole
    • CommentAuthorloggriff
    • CommentTimeSep 4th 2007 edited
     
    I too am experiencing the same problem here. The slideshow plays only the first 20 pictures in the album and then loops back to the start. I've tried updating to the latest version of slideshow.js file but I still haven't got it working.

    Does anyone have a solution for this?
    • CommentAuthorIlle
    • CommentTimeSep 5th 2007
     
    In the original code, the max limit is set to 100 (max thumbs in the album page and also in the slideshow) and it doesn't accept a limit of 0.
    The problem is in the plogger_init() function, the limit for a slidedshow is set to 0 which should stand for no limit but in the plogger_init_pictures() function, if the limit is set to 0, it gets reset to hard-coded value 20.
    Multiple solutions are available. You can change the limit value to 100 in the plogger_init() function and you will get the 100 first pictures (it's OK if you have less than 100 pictures in your albums).

    Another way :
    In the plogger-functions.php, find the plogger_init_pictures function and the line:
    $sql .= " LIMIT ".$from.",".$limit;

    Just before this line add this one:
    if ($GLOBALS["plogger_mode"] != "slideshow")

    you could also do this some lines before

    >> if ($GLOBALS["plogger_mode"] != "slideshow") {

    $from = 0;

    $limit = 20;



    if (isset($arr["from"]) && $arr["from"] > 0) {

    $from = $arr["from"];

    }



    // enforce hard-coded max limit

    if (isset($arr['limit']) && $arr['limit'] > 0 && $arr['limit'] <= 100) {

    $limit = $arr['limit'];

    }

    >> }

    This does it.
    But for very large albums, it takes longer to load.
    Thankful People: loggriff
    • CommentAuthorloggriff
    • CommentTimeSep 5th 2007
     
    Thanks very much Ille. A quick solution to a very frustrating problem! The bigger albums do take longer to load but at least now, all photos in the album can be seen in slideshow form!

    Thanks Again!!