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,652

Results 1,161 to 1,180 of 7,094
9 May 2007, 4:34 AM
#1162
mallaire avatar

mallaire

New Zenner

Join Date:
Apr 2007
Posts:
1
Plugin Contributions:
0

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

mfreund,

I'm having the same problem as you.

  • I have version 1.3.7 with IH2.

  • The admin is showing the images correctly

  • The front-end is showing images the old way (images/) so nothing is done (no "on-the-fly" resizes like I read on the forum), and I have to reupload manually my pictures in the /medium and /large folders.

I'm sure there's a fix for this... can someone help us?

10 May 2007, 9:43 PM
#1163
mrbert avatar

mrbert

New Zenner

Join Date:
Jan 2007
Location:
Rotterdam NL
Posts:
76
Plugin Contributions:
0

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

I installed IH2 and it seems to work fine, but sometimes
I get strange error messages in IH2. Moost times in the IH2
manager but also when I want to see the enlarged image ( full size in product screen.)

I have the zen1.37

Warning: imagecopy(): supplied argument is not a valid Image resource in /mounted-storage/home51b/sub001/sc18116-VNPY/mrbertdesign/webshop/includes/classes/bmz_image_handler.class.php on line 521

Warning: imagedestroy(): supplied argument is not a valid Image resource in /mounted-storage/home51b/sub001/sc18116-VNPY/mrbertdesign/webshop/includes/classes/bmz_image_handler.class.php on line 523

12 May 2007, 1:23 AM
#1164
supersnow avatar

supersnow

Zen Follower

Join Date:
Apr 2007
Location:
California, USA
Posts:
233
Plugin Contributions:
0

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

Okay I don't understand this I thought I fixed my problem with the images handler. Now I am getting error messages again:

This is on the front end this time:

 [B]Warning[/B]: imagejpeg(): Unable to open '/home/..../bmz_cache/4/42f0a7f47c3e6f2220758aed7dd7878a.image.140x146.jpg' for writing in [B]/home/.../includes/classes/bmz_image_handler.class.php[/B] on line [B]651[/B]
  Displaying [B]1[/B] to [B]7[/B] (of [B]7[/B] products)
   
 
  
[B]Warning[/B]: imagejpeg(): Unable to open '/home/.../bmz_cache/4/42f0a7f47c3e6f2220758aed7dd7878a.image.140x146.jpg' for writing in [B]/home/../includes/classes/bmz_image_handler.class.php[/B] on line [B]651[/B]

Also on the admin side I am getting these errors and all the images show as broken links:

[B]Warning[/B]: imagejpeg(): Unable to open '/home/.../bmz_cache/a/add5a980e90ee13a874d101aa1f36cdd.image.524x550.jpg' for writing in [B]/home/.../includes/classes/bmz_image_handler.class.php[/B] on line [B]651[/B]

Now I have set the persmissions in images and in each folder for bmz_cache to 777. Which fixed my problem last week when I was getting these exact errors. But then they went away. Now they are back!!! WHY????

I am runing image hander 2.0 on 1.3.7 zencart

All the images in the products are showing - some are not having the cool zoom effect but most of the zoom effects are working. So what do I do??

:frusty:

12 May 2007, 1:32 AM
#1165
zinfandel avatar

zinfandel

Zen Follower

Join Date:
Feb 2007
Location:
NNJ
Posts:
205
Plugin Contributions:
0

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

Funny isn't it...
Everyone is complaining about IE, and yet my IH2/Lightbox combo works perfectly in IE6.

I finally got around to downloading FF v2.0, and the zoom doesn't work as advertised.

When I hover the image, I see the zoom flickering if at all, but it disappears.

Works perfect in IE, not so perfect in Firefox.

Any clues?

I just wanna cry! :cry:

12 May 2007, 4:19 AM
#1166
andyii avatar

andyii

Zen Follower

Join Date:
Mar 2007
Posts:
153
Plugin Contributions:
0

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

personally, I dont care for IE, FF is my choice and I have no problems In FF and only an old error in IE, which I fixed on a js error. They work perfectly in both IE and FireFox.
think some of the problems folks have is due to their host, I would recheck the permissions, perhaps replace the bmz_cache folder, maybe you are maxed on data storage, too many variables to be looked into....:mellow:

12 May 2007, 4:21 AM
#1167
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

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

snow, do you use any kind of "hot link" protection on your server, that you just recently set up? That will cause your images not to show with IH, also.
Just a thought, as I've had this problem, and someone else, that I helped, also.

13 May 2007, 8:08 AM
#1168
supersnow avatar

supersnow

Zen Follower

Join Date:
Apr 2007
Location:
California, USA
Posts:
233
Plugin Contributions:
0

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

Get Em Fast:

snow, do you use any kind of "hot link" protection on your server, that you just recently set up? That will cause your images not to show with IH, also.
Just a thought, as I've had this problem, and someone else, that I helped, also.

No I do not have any hot linking, I have doubled checked my server settings. But the error has gone away again. I didn't actually do anything and I have no idea if it will come back. Actually I am sure that it will be back as I have no idea what caused it in the first place.

But one thing that is strange. All my small and medium images zoom effects only work for "also purchase" products and for the most of the attributes, but it doesn't show the cool zoom effect on the actual product's image in the product list or in the product info page.

So how to I get that to work? It doesn't matter if I am viewing on a FF or IE browsers.

Thank for any suggestions on my problems.

13 May 2007, 9:55 AM
#1169
mrbert avatar

mrbert

New Zenner

Join Date:
Jan 2007
Location:
Rotterdam NL
Posts:
76
Plugin Contributions:
0

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

the error I secribe in http://www.zen-cart.com/forum/showpost.php?p=372397&postcount=1181
is only the first time an image is viewed.
After that the problem seems to disappear.

Also I found that on the 'larger image' from the proct display I do not see a watermark. I have watemark enabled for all but small images.

Is ths larger image notmeant to be watermark protected?

13 May 2007, 2:18 PM
#1170
scarletvampire avatar

scarletvampire

New Zenner

Join Date:
Apr 2007
Posts:
22
Plugin Contributions:
0

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

Hi all

I am building offline and have IH2 installed but without GD/IM support.

As I intend to upload site and data base when ready to a GD/IM supported server..should all just work? ie can I just upload the one image via IH even though it won't resize on my server?

Cheers

SV

13 May 2007, 2:35 PM
#1171
kadesign avatar

kadesign

Totally Zenned

Join Date:
Feb 2005
Location:
New Jersey
Posts:
593
Plugin Contributions:
0

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

Hi,

Knock on wood I am not having any problems. I love it! But...I do have a question. Is there any way to add a background image to the files to make all the images on the product list the same size? I would like to add a white background image that would keep all the images 129 x 127. Or something like that. I want them all the same because my page has a dark background and I don't like when the images are all different. I know you can set the size, but if one is not as high as another it doesn't fill the same space and looks uneven or distorts the image to meet the size setting.
I hope I am explaining this the right way. I mainly want it for the listing not the product info display.

Thanks in advance,
Kelly

13 May 2007, 5:11 PM
#1172
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

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

sleepless - either use css or save all your original images onto the same sized canvas.

13 May 2007, 5:15 PM
#1173
kadesign avatar

kadesign

Totally Zenned

Join Date:
Feb 2005
Location:
New Jersey
Posts:
593
Plugin Contributions:
0

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

Hi Ryk,

Thank for the reply. I considered saving them onto a canvas, but I have almost 1,000 already on the site. New additions would be okay but to go back on the rest would be a bit much.
Do you have any suggestions on how I might do it using css?

Thanks again,
Kelly

13 May 2007, 6:57 PM
#1174
zinfandel avatar

zinfandel

Zen Follower

Join Date:
Feb 2007
Location:
NNJ
Posts:
205
Plugin Contributions:
0

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

AndyII,
Thanks, I'll try a few things.

I don't care for either one, I'd rather be sipping a cold one on a beach in Cancun, but instead here I am building a business.

It would be considerably shortsighted of me to say that I don't care for IE considering the size of the potential market that uses IE and should have as good an experience as those using Firefox. And vice-a-versa.

The reality of the matter is not dictated by my personal preferences, but rather by the browser of the person who wants to pay me money for my wares.

That is why we're here, isn't it?

13 May 2007, 8:56 PM
#1175
zinfandel avatar

zinfandel

Zen Follower

Join Date:
Feb 2007
Location:
NNJ
Posts:
205
Plugin Contributions:
0

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

Well, for those of you who are interested,

In the file:

jscript_imagehover.js

within the template directory, there is

var offsetfrommouse=[0,0]; //image x,y offsets from cursor position in pixels. Enter 0,0 for no offset

Although the comment advocates [0,0] for no offset, Dont' do it!
As it turns out, the latest version of FF doesn't take kindly to an offset=[0,0], changing this value to just about anything else fixed the problem.

[1,1] worked, [10,10] was even better. :thumbsup:

So there! It was easier than that.

14 May 2007, 12:57 AM
#1176
ezskratch avatar

ezskratch

New Zenner

Join Date:
May 2007
Posts:
41
Plugin Contributions:
0

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

Hello -

I installed IH2 but seem to be experiencing a few problems.

When I pull in my pics I was under the impression I did not have to upload a small, medium and large version. I uploaded a jpeg file for each of my products and was happy to see displayed the 3 sizes and different byte sizes (slave to speed). The small and medium images seem to work ok but when I click to see a larger view - I get a smashed small version.

ideas? - hopefully it is something simple.

thanks

skratch

http://ezskratch.com/zencart/index.php?main_page=

cart in progress so be kind

14 May 2007, 1:03 AM
#1177
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

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

ezskratch:

Hello -

I installed IH2 but seem to be experiencing a few problems.

When I pull in my pics I was under the impression I did not have to upload a small, medium and large version. I uploaded a jpeg file for each of my products and was happy to see displayed the 3 sizes and different byte sizes (slave to speed). The small and medium images seem to work ok but when I click to see a larger view - I get a smashed small version.

ideas? - hopefully it is something simple.

thanks

skratch

http://ezskratch.com/zencart/index.php?main_page=

cart in progress so be kind

Go to Admin>Configuration>Images and set **IH large image maximum width **to the size you want your larger pop-up image to be. Looks like right now, it's set to 100x80

14 May 2007, 1:30 AM
#1178
ezskratch avatar

ezskratch

New Zenner

Join Date:
May 2007
Posts:
41
Plugin Contributions:
0

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

I made those changes to IH with negative results...

Think this might be it? I am not using ImageMagick -

IH resize images
Select either 'no' which is old Zen-Cart behaviour or 'yes' to activate automatic resizing and caching of images. If you want to use ImageMagick you have to specify the location of the convert binary in includes/extra_configures/bmz_image_handler_conf.php.

yes
no

14 May 2007, 2:11 AM
#1179
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

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

ez, it could be. You also, DID upload a big image (not with a _LRG suffix) as the **Default image file, **didn't you?

14 May 2007, 2:20 PM
#1180
zinfandel avatar

zinfandel

Zen Follower

Join Date:
Feb 2007
Location:
NNJ
Posts:
205
Plugin Contributions:
0

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

Hello Get Em Fast.

After resetting the **IH large image maximum width **, shouldn't ezskratch then clear the cache of all the images. I suspect the admin settings are only used if and when the required image is not in the cache.

whaddaya think? I could be wrong.