Not signed in (Sign In)

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

    • CommentAuthorbevw
    • CommentTimeAug 8th 2008
     
    My web hosting service (HostPapa, who btw are really terrible) upgraded their server to Apache2.2 and went from PHP4 to PHP5. After some initial .htaccess troubles (now resolved) I have just realized that the large photos don't show up. The thumbs show, the paths are correct, the photos are on the server and I've made no changes to the system, other than to the .htaccess file. Has anyone else had this problem? Any help?
    •  
      CommentAuthorsidtheduck
    • CommentTimeAug 8th 2008
     
    bevw,

    Is this for your furniture site? If so, I can view the large images. If not, can you provide a link?
    • CommentAuthorbevw
    • CommentTimeAug 8th 2008
     
    I just did the fix to the functions file suggested by Silent Ninja here: http://www.plogger.org/forum/discussion/2080/errors-with-full-size-picture-links/#Item_0
    But on my system, nothing has changed. The filename still has the description appended. This is in FireFox.

    In IE, the photo path/filename are correct, and the photo "placeholder" shows (I don't know the technical word for this)

    Yes, this is my furniture site...
    • CommentAuthorbevw
    • CommentTimeAug 8th 2008
     
    I just changed the config file per infamous_iv 's post (just seconds ago...) on the same thread. Still no luck.
    Why did this just suddenly happen? The only change was with the host upgrading to PHP5.
    •  
      CommentAuthorsidtheduck
    • CommentTimeAug 8th 2008
     
    Again, I see no issue, bevw. I can view your site in Firefox 2, IE7, IE6, Opera, and Safari for Windows (all the browsers I have available to me here). I can view all thumbnails and intermediate images.
    • CommentAuthorbevw
    • CommentTimeAug 8th 2008
     
    Thanks Sid for doing the check. I still have problems.

    Here's the output when I view the source:

    <div id="picture-holder">
    /catalogue/images/browse_by_item/armoires___wardrobes/3-ef241-wardrobe_curvedtop.jpg <img class="photos-large" src="/catalogue/index.phpimages/browse_by_item/armoires___wardrobes/3-ef241-wardrobe_curvedtop.jpg" title="Wardrobe-- Curved Top" alt="Wardrobe-- Curved Top" />
    </div><div id="exif_table"><table id="exif_data" style="display: none;">

    See the "index.php" in the img path? That shouldn't be there, I think. Is this the problem?

    -Bev
    • CommentAuthorinfamous_iv
    • CommentTimeAug 8th 2008 edited
     
    bev i followed you here from the other thread.. what is your site url?

    edit: my problem also started when network solutions upgraded to php5
    • CommentAuthorinfamous_iv
    • CommentTimeAug 8th 2008 edited
     
    Here is the properly rendered code:

    <div id="picture-holder">
    <a accesskey="v" href="/plogger/images/fort_myers_streetscape/construction_photos/fmss_image_con_036.JPG">
    <img class="photos-large" src="http://www.fmstreetscape.com/plogger/thumbs/lrg-39-fmss_image_con_036.JPG" title="" alt="" />
    </a>
    </div>


    It seems like the function isn't writing the hyperlink code. I don't see your a href="" or the closing tag either.. did you accidentally mis-edit the function. Let us know.
    • CommentAuthorinfamous_iv
    • CommentTimeAug 8th 2008 edited
     
    You can easily fix this.. replace the plogger_get_source_picture_url() function with the following code in your plog-functions.php file and change PATHTOYOURIMAGESDIRECTORY to your specific path and you should be set..

    function plogger_get_source_picture_url() {
    global $config;
    if(!is_dir($config["baseurl"])){
    return substr($config["baseurl"],0,strrpos($config["baseurl"],"/")).'PATHTOYOURIMAGESDIRECTORY'.SmartStripSlashes($GLOBALS["current_picture"]["path"]);
    }
    else {
    return (!empty($config['allow_fullpic'])) ? $config["baseurl"].'PATHTOYOURIMAGESDIRECTORY'.SmartStripSlashes($GLOBALS["current_picture"]["path"]) : "#";
    }
    }


    for instance.. when I had the error.. my source code was returning this:

    <div id="picture-holder"><a accesskey="v" href="/gallery.phpimages/fort_myers_streetscape/construction_photos/fmss_image_con_036.JPG"><img class="photos-large" src="http://www.fmstreetscape.com/plogger/thumbs/lrg-39-fmss_image_con_036.JPG" title="" alt="" /></a>
    </div>


    i had to replace the function with this in order for it to work:

    function plogger_get_source_picture_url() {
    global $config;
    if(!is_dir($config["baseurl"])){
    return substr($config["baseurl"],0,strrpos($config["baseurl"],"/")).'/plogger/images/'.SmartStripSlashes($GLOBALS["current_picture"]["path"]);
    }
    else {
    return (!empty($config['allow_fullpic'])) ? $config["baseurl"].'plogger/images/'.SmartStripSlashes($GLOBALS["current_picture"]["path"]) : "#";
    }
    }


    /plogger/ is the directory where i have all the gallery files.. if you changed it from 'plogger' to 'gallery' then you need to put 'gallery' in that spot.. understand?
    •  
      CommentAuthorsidtheduck
    • CommentTimeAug 8th 2008
     
    bevw, infamous_iv, SilentNinja (and anyone else who is having issues with full picture links), check out this discussion to fix the problem you are having -> http://www.plogger.org/forum/discussion/1949/