Page 148 of 710 FirstFirst ... 4898138146147148149150158198248648 ... LastLast
Results 1,471 to 1,480 of 7099
  1. #1471
    Join Date
    Oct 2004
    Location
    Houston, TX
    Posts
    782
    Plugin Contributions
    4

    Default Re: Problem with IH preview

    Quote Originally Posted by taf View Post
    As anyone else seen this problem?

    In the admin pages in Tools->Image handle 2->preview

    The images are not showing up. I've looked at the code and found that in

    image_handler.php it seems to be adding the extra zencart directory in here
    one of the lines of code looks like this:

    <td><img style="border: 1px solid #000000; background:url(images/checkpattern.gif)" src="<?php echo HTTP_SERVER . DIR_WS_CATALOG . $images['pngsource']?>" /></td>


    if I remove the DIR_WS_CATALOG and replace it with '//' it sees the image but I'm not sure that this is the correct solution.

    If anyone as seen this or knows how to fix it please let me know.

    Thanks
    I believe the preview is to give you a visual reference for the quality of images IH outputs using GD or ImageMagick.

    Check your Zen Cart Configuration files and make sure DIR_WS_CATALOG is defined with a trailing slash.

  2. #1472
    Join Date
    Feb 2007
    Posts
    284
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    I do not see any images in the preview either, all i see 9 blocks with different sizes for gif, jpg and png, there is not hotspot to click on. (I thought this what i suppose to see! isn't it?

  3. #1473
    Join Date
    Oct 2004
    Location
    Houston, TX
    Posts
    782
    Plugin Contributions
    4

    Default Re: Image Handler 2 Support

    Did you check your zen cart configuration files?

  4. #1474
    Join Date
    Feb 2007
    Location
    South Florida, USA
    Posts
    1,374
    Plugin Contributions
    4

    Default Re: Image Handler 2 Support

    Now that you mention it, I noticed that I am showing the same thing.
    I never paid attention to it because it wasn't affecting functionality.
    Yes, I did check configuration files and DIR_WS_CATALOG is defined with a trailing slash like so:
    define('DIR_WS_CATALOG', '/haiswigs/');

  5. #1475
    Join Date
    Oct 2004
    Location
    Houston, TX
    Posts
    782
    Plugin Contributions
    4

    Default Re: Image Handler 2 Support

    Quote Originally Posted by ckosloff View Post
    Now that you mention it, I noticed that I am showing the same thing.
    I never paid attention to it because it wasn't affecting functionality.
    Yes, I did check configuration files and DIR_WS_CATALOG is defined with a trailing slash like so:
    define('DIR_WS_CATALOG', '/haiswigs/');
    You too are getting the double definition?

  6. #1476
    Join Date
    Jun 2007
    Posts
    61
    Plugin Contributions
    0

    Default Re: Problem with IH preview

    Quote Originally Posted by testuser View Post
    You too are getting the double definition?
    Hi all,

    Thanks for the replies it's good to know others might have seen this as well.

    To get and idea of what the preview should look like look here:

    http://breakmyzencart.com/image-handler

    there's a small image in the left that should give you and idea of what it looks like when it's working.

    for me it's not a problem with the number of slashes it's the fact that an extra dir is inserted into the path. So the path to the image is:
    /zencart/zencart/admin/images/ih-test.png

    whereas it should be something like:

    /zencart/admin/images/ih-test.png

    so if i remove DIR_WS_CATALOG form the php code it seems to get the correct path.(Since it is defined as /zencart/ i have to replace is with a single / hence '//' (two slashes because you have to escape it first, otherwise php throws an error).

    It doesn't really stop me using IH2 but it would be nice if the preview worked as it would help with tweaking compression, sizing etc.. At least this is what it think it is supposed to be used for if it works.

    I found the path to the broken images by right clicking on them and clicking on view image (in firefox).

    it could be that the string that is returned by $images['pngsource'] is not being formed correctly? i.e. in my case it's adding an extra zencart directory.

  7. #1477
    Join Date
    Jun 2007
    Posts
    61
    Plugin Contributions
    0

    Default Re: Problem with IH preview

    Quote Originally Posted by JansenD View Post
    Hello I've installed image handler but obviously something is wrong

    When I hover over the pictures just the alternative text shows up and the hover could be anywhere on the page but on one of the pictures the large image shows up

    I've tried every combination I could and nothing seems to solve it, I've tried FFox and IE and read through all 94 pages but can't find a solution.

    Also another problem is this is appearing on my preview page
    http://www.zen-cart.com/forum/attach...3&d=1168528812

    Do I have to do a complete install of IM2 or is there an easier solution.

    Thanks in advance, I've spent alot of time trying to find a solution but I can't

    www.quirkesfurniture.com/shop
    Looks like I'm not the only person seeing this problem checkout the attachment above this is exactly what i am seeing.

  8. #1478
    Join Date
    Jun 2007
    Posts
    61
    Plugin Contributions
    0

    Default Re: Problem with IH preview

    Quote Originally Posted by Ivan02 View Post
    hi,

    i had the same problem.
    It seems to be a minor issue since it only affects the admin-preview on a shop below the root directory.

    You can solve by editing the file .../admin/includes/functions/extra_functions/functions_bmz_image_handler.php

    Just replace
    Code:
    $ihConf['dir']['admin'] = preg_replace('/^\/(.*)/', '$1', (($request_type == 'SSL') ? DIR_WS_HTTPS_ADMIN : DIR_WS_ADMIN));
    with
    Code:
    $ihConf['dir']['admin'] =  end(explode("/", trim( (($request_type == 'SSL') ? DIR_WS_HTTPS_ADMIN : DIR_WS_ADMIN) ,"/") ))."/";
    The code extracts only the last path and should work on all shops.

    ciao

    Looking some more this might be a solution haven't tried it yet....

  9. #1479
    Join Date
    Jun 2007
    Posts
    61
    Plugin Contributions
    0

    Default Re: Problem with IH preview

    Quote Originally Posted by taf View Post
    Looking some more this might be a solution haven't tried it yet....
    Well it help some.. jpgs and gifs are showing now but still can't see the pngs.

  10. #1480
    Join Date
    Oct 2004
    Location
    Houston, TX
    Posts
    782
    Plugin Contributions
    4

    Default Re: Problem with IH preview

    Quote Originally Posted by taf View Post
    Well it help some.. jpgs and gifs are showing now but still can't see the pngs.
    Version of GD Library?

 

 

Similar Threads

  1. v150 Image Handler 4 (for v1.5.x) Support Thread
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1687
    Last Post: 17 Nov 2024, 07:26 PM
  2. v139h Image Handler 3 Support Thread (for ZC v1.3.9)
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1095
    Last Post: 2 Oct 2017, 12:42 PM
  3. Image Handler Support Please
    By nadinesky in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 30 Sep 2013, 03:47 PM
  4. Image handler only covers part of screen
    By shaneburton in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 14 May 2009, 07:15 PM
  5. Is Image Handler the only way to go?
    By wwwursa in forum Installing on a Windows Server
    Replies: 2
    Last Post: 23 Dec 2007, 09:22 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR