Not signed in (Sign In)

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

Please sign in or apply for membership to remove the ads
    • CommentAuthorWim
    • CommentTimeApr 8th 2008
     
    I'm new here with Plogger. I have made my gallery and yet made some changens, but I have a problem.

    when i'm on my detailpage of the photo and a click on it to vieuw it in full size, I got this error : "The requested URL /foto.phpimages/vakantie/valmeinier_2008/dsc_6855.jpg was not found on this server."

    Anyone any idea?
    •  
      CommentAuthorsidtheduck
    • CommentTimeApr 8th 2008
     
    Wim,

    It looks like a slash "/" is missing between .php and images. Can you provide a link to your installation? Do you have Cruft-free URLs on or not and is it included in a different page (foto.php) than the default index.php page?
    • CommentAuthorWim
    • CommentTimeApr 8th 2008
     
    @sidtheduck
    http://www.tw-fotografie.be/index.php

    I have indeed a foto.php page.
    •  
      CommentAuthorsidtheduck
    • CommentTimeApr 8th 2008
     
    Wim,

    In Plogger admin, under the Options tab, what is the path specified in the "Gallery URL"?
    • CommentAuthorWim
    • CommentTimeApr 8th 2008
     
    http://www.tw-fotografie.be/
    •  
      CommentAuthorsidtheduck
    • CommentTimeApr 8th 2008
     
    Wim,

    It looks like this has been fixed in the SVN trunk of Plogger. You can either download the current trunk here and upgrade or you can try editing the plog-functions.php file.

    To edit, find the function plogger_get_source_picture_url (line 2045 in Beta3.0 version):
    function plogger_get_source_picture_url() {
    global $config;
    return (!empty($config['allow_fullpic'])) ? $config["baseurl"].'images/'.SmartStripSlashes($GLOBALS["current_picture"]["path"]) : "#";
    }
    and change:$config["baseurl"]to:$config['galleryurl']

    I'm not sure if $config['galleryurl'] is defined in the Beta 3.0 release, so you may want to backup your plog-functions.php file before you edit it or just change it back to how it was previous.
    • CommentAuthorWim
    • CommentTimeApr 9th 2008
     
    Thanks Sidtheduck
    Now it works.
    The only problem that i have is that the picture opens in my iframe instead of a new window.

    Is it possible to change that?
    •  
      CommentAuthorsidtheduck
    • CommentTimeApr 9th 2008
     
    If you want to open in a new window, just add target="_blank" or target="plogger" to the link in your theme. If you add "_blank", a new window will be opened for each click. If you add "plogger" (or any other name for that matter), it will open a window named plogger (if a previously clicked window was opened and not closed, the same window will be targeted for new clicks - this way you won't have 18 windows open if a user clicks 18 times).

    Look for:<a accesskey="v" href="'.plogger_get_source_picture_url().'">'.$imgtag.'</a> in pictures.php and add the target info like so:<a accesskey="v" href="'.plogger_get_source_picture_url().'" target="plogger">'.$imgtag.'</a>