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?
Did you check your zen cart configuration files?
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/');
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.
Bookmarks