Zen Cart Logo
Forums / All Other Contributions/Addons / Image Handler 2 (for ZC v1.3.8 ONLY) Support

Image Handler 2 (for ZC v1.3.8 ONLY) Support

Views: 2,510,674

Results 1,441 to 1,460 of 7,094
9 Aug 2007, 11:18 PM
#1441
m3s_4ev3r avatar

m3s_4ev3r

New Zenner

Join Date:
Aug 2007
Location:
Romania
Posts:
26
Plugin Contributions:
0

Image Handler 2 (for ZC v1.3.8 ONLY) Support

Nope, didn't help, I think that is another problem....thanks for answering :)
I have a correction to make.. I can upload aditional images from IH2.
I was stupid and tried to upload to Large.. but to default it works perfectly :D

Still no zoom and watermark.

9 Aug 2007, 11:45 PM
#1442
m3s_4ev3r avatar

m3s_4ev3r

New Zenner

Join Date:
Aug 2007
Location:
Romania
Posts:
26
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

OK , There's only zoom left... the other issues were related to my stupidity.

EDIT: The zoom related issues i'm 100% sure it's not human error from my side. I read and read and read, and tried different things, I crashed the catalog, I restore the backup, i reinstalled IH2, and the Zoom won't work.

10 Aug 2007, 12:21 AM
#1443
rik avatar

rik

New Zenner

Join Date:
Nov 2005
Location:
Netherlands
Posts:
49
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Do you have jscript_imagehover.js in

includes/templates/YOUR_TEMPLATE/jscript/jscript_imagehover.js ?

10 Aug 2007, 2:17 AM
#1444
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Looking at your source code you are missing this line.

<script type="text/javascript" src="includes/templates/classic/jscript/jscript_imagehover.js"></script>

Means that you don't have the jscript_imagehover.js file in the right place or is missing.

As Rik pointed out you need to look here,
includes/templates/classic/jscript/

M

10 Aug 2007, 2:18 AM
#1445
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

tophand:

Looking at your source code you are missing this line.

<script type="text/javascript" src="includes/templates/classic/jscript/jscript_imagehover.js"></script>
> 
> As Rik pointed out you need to look here, 
> includes/templates/classic/jscript/
> 
> M

You should make sure the file is in template_default so your getting a load no matter what.
10 Aug 2007, 2:51 AM
#1446
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

testuser:

You should make sure the file is in template_default so your getting a load no matter what.
if there is something in custom_template/jscript he will not get a load, even if script loaded in template_default/jscript.
Zen Cart will only read the jscript in custom and ignore all the rest.

10 Aug 2007, 6:09 AM
#1447
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

ckosloff:

if there is something in custom_template/jscript he will not get a load, even if script loaded in template_default/jscript.
Zen Cart will only read the jscript in custom and ignore all the rest.Agreed. m3s_4ev3r you have the tab lite jscript in your template's jscript folder so the image handler jscript must go in there too.

Also, off topic, it's a bad idea to use "classic" as your template directory name as many of your changes will get over-written when you next upgrade. I'd recommend renaming them all and then re-setting your template in the Admin.

10 Aug 2007, 12:25 PM
#1448
m3s_4ev3r avatar

m3s_4ev3r

New Zenner

Join Date:
Aug 2007
Location:
Romania
Posts:
26
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Oh my good, you were right, the hover js file was only in the template_default directory, i copied it in the classic directory and now everything works, AMAZING, and i spent hours reading and looking to the code. I remember checking the html output and seeing the hover js file in the head section but you are right.
Working at night isn't that good :)). Thanks a lot, and I will create a new theme name so at the next release i don't get all my design and settings screwed up. I was thinking on making some designs improvements anyway.

Thank you very much Zen Cart community :).

15 Aug 2007, 2:08 PM
#1449
taf avatar

taf

New Zenner

Join Date:
Jun 2007
Posts:
58
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Hi,

I've just installed IH2 and I have got it working to some extent. It does a really nice job of resizing the images, very nice!

I am having a few problems most probably something to do with the way I have installed it.

I'm running my setup locally using WAMP. And I have my zencart installed in the directory zencart. So under zencart I have admin, images , includes etc...

I've copied all the directories for IH into the zencart directory.

There's a few strange things that are not working but most noticeably When I go to:

Tools->Image handle 2->preview

I cannot see any of the preview images..

when I click to view image my browser tells me:

The requested URL /zencart/zencart/admin/images/ih-test.png was not found on this server.

It seems that somehow IH2 thinks that there is another dir called zencart in my original zencart directory.

I'm sure this is simple to fix but I'm not sure where to look.

Any help would be great.

Thanks.

15 Aug 2007, 9:03 PM
#1450
tamya avatar

tamya

Zen Follower

Join Date:
Feb 2007
Posts:
336
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

I've trying to figure out this for a couple of days, i searched the forum but i could not find a problem similar to mine or at least i did not see one.

My problem is: i have this mod installed on a testing site and i am able to add an image from the IH2 under the Admin, the site however is using the Zen Cart mechanism of displaying the same image with different dimensions and the same size, the only thing this mod does is displaying a medium image size when hover with mouse over the small image.

Is there a way to force Zen Cart to use this mod? as i said it is installed and partially working (the hover part).

Other things that is not working:
The Zoom image is not displaying
the images are not resizing

I appreciate any help to get me started. Thanks.

16 Aug 2007, 12:40 AM
#1451
tamya avatar

tamya

Zen Follower

Join Date:
Feb 2007
Posts:
336
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Ok, it is working now and beautifully if i may say.

I think what happened is the following:
I tried to use the admin to clear the cache from bmz_cache the i got an error that the files were not deleted, i checked the permission for that directory and it was 777 however the sub folder with only read/execute permission, i deleted the sub folders manually and wallah, it is working.

Well another thing i did, I cut the grass (usually do that when i get frustrated) maybe it has something to do with it. :lamo:

16 Aug 2007, 1:22 AM
#1452
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

TamyA:

Ok, it is working now and beautifully if i may say.

I think what happened is the following:
I tried to use the admin to clear the cache from bmz_cache the i got an error that the files were not deleted, i checked the permission for that directory and it was 777 however the sub folder with only read/execute permission, i deleted the sub folders manually and wallah, it is working.

Well another thing i did, I cut the grass (usually do that when i get frustrated) maybe it has something to do with it. :lamo:

Get them weeds! I love cutting the grass when I'm frustrated as well. That's so cool!

Oh and did you just install, or was your site moved?

16 Aug 2007, 2:19 AM
#1453
tamya avatar

tamya

Zen Follower

Join Date:
Feb 2007
Posts:
336
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

testuser:

Get them weeds! I love cutting the grass when I'm frustrated as well. That's so cool!

Oh and did you just install, or was your site moved?

New installation.
but getting ready to move an old site products to it, and using the same domain and a few hundred items to be redirected.

16 Aug 2007, 12:33 PM
#1454
taf avatar

taf

New Zenner

Join Date:
Jun 2007
Posts:
58
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

peanut77:

Hi - Just to post the solution for something which was driving me insane - I broke the image handler small image zoom by amending the small image size in config>images and couldn't fix it or find a fix (unistalled reinstaled etc etc) so to end a long story

Your small image sizes must be the same size as your product listing image sizes or the zoom won't work (this was also causing errors to be thrown up as well).

One happy image handler bunny :-)

This had me stuck for a while as well, just thought I'd repost this as it still seems to be a problem.

16 Aug 2007, 12:48 PM
#1455
taf avatar

taf

New Zenner

Join Date:
Jun 2007
Posts:
58
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

taf:

Hi,

I've just installed IH2 and I have got it working to some extent. It does a really nice job of resizing the images, very nice!

I am having a few problems most probably something to do with the way I have installed it.

I'm running my setup locally using WAMP. And I have my zencart installed in the directory zencart. So under zencart I have admin, images , includes etc...

I've copied all the directories for IH into the zencart directory.

There's a few strange things that are not working but most noticeably When I go to:

Tools->Image handle 2->preview

I cannot see any of the preview images..

when I click to view image my browser tells me:

The requested URL /zencart/zencart/admin/images/ih-test.png was not found on this server.

It seems that somehow IH2 thinks that there is another dir called zencart in my original zencart directory.

I'm sure this is simple to fix but I'm not sure where to look.

Any help would be great.

Thanks.

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

16 Aug 2007, 6:45 PM
#1456
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

taf:

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.

17 Aug 2007, 2:56 AM
#1457
tamya avatar

tamya

Zen Follower

Join Date:
Feb 2007
Posts:
336
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) 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?

17 Aug 2007, 3:49 AM
#1458
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Did you check your zen cart configuration files?

17 Aug 2007, 4:30 AM
#1459
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) 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/');

17 Aug 2007, 3:26 PM
#1460
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

ckosloff:

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?