Not signed in (Sign In)

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

    • CommentAuthorEViS
    • CommentTimeDec 18th 2007 edited
     
    Example: http://rusc.org.uk/gallery.php?level=picture&id=2

    If you click on that picture, you will receive an error. Plogger points to the following url:

    http://rusc.org.uk/gallery.phpimages/committee/committee_2007_-_2008/mph_november_2007_120a.jpg

    It should in fact point to:

    http://rusc.org.uk/phpgallery/images/committee/committee_2007_-_2008/mph_november_2007_120a.jpg

    There should be a 'php' before 'gallery' and a '/' instead of the '.' followed by 'images' without 'php'...

    Any ideas on how I can fix this?
    • CommentAuthorEViS
    • CommentTimeDec 19th 2007
     
    Found the fix :). In plog-functions.php the following must be changed:

    function plogger_get_source_picture_url() {
    global $config;
    return (!empty($config['allow_fullpic'])) ? $config["baseurl"].'images/'.SmartStripSlashes($GLOBALS["current_picture"]["path"]) : "#";
    }

    $config["baseurl"] TO $config["gallery_url"] :).
    • CommentAuthorEViS
    • CommentTimeDec 19th 2007
     
    Out of interest was this simply a probelm with an error in the beta version script? Or something else?