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

Results 1,141 to 1,160 of 7,094
26 Apr 2007, 3:40 PM
#1141
tvadpro avatar

tvadpro

Zen Follower

Join Date:
Aug 2005
Location:
Cincinnati
Posts:
323
Plugin Contributions:
0

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

The html code quoted is directly from your site. If you load a page on your site with thumbnail images and do a View Source (Ctrl + U in Firefox on a Windows platform), you'll see it.

Image Handler is putting an extra slash in the Universal Resource Locator (url) between 'images' folder and the file name. Further, that url appears to be missing a key ingredient, namely the bmz_cache folder. An example (taken from our hardware catalog, where IH2 is up & running, is ```html
onmouseover="showtrail('bmz_cache/1/1ca21ca3bc8c06ca90412a858f970200.image.86x180.gif','Chrome Polish/Cleaners',42,88,86,180,this,0,0,42,88);"


Perhaps someone who is familiar with the guts of IH2 can point you in the right direction.> **kdgjevre:**
>
> Where is this HTML code and is there one place in the setup if IH2 that I can fix.
28 Apr 2007, 2:21 AM
#1142
pjb923 avatar

pjb923

Zen Follower

Join Date:
Jan 2005
Location:
NY
Posts:
135
Plugin Contributions:
0

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

I am having a problem with file permissions.

When I try to upload images through image handler, they are getting set to 600 on the server. They cannot be read until I manually change the permissions on each file. I searched this entire thread and saw the question asked a few times, but can't seem to find the answer.

Has anyone solved this?

I have my /images, /image/large, and /bzm_cache directories all set to 777 and it doesn't help.

This store was set up with no problems on my own server, and then transfered to a Yahoo server for a client. The problem only started after the transfer.

28 Apr 2007, 2:37 AM
#1143
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

pjb, do you use "cPanel" at your host, or another panel that has the option to protect against "hot-linking" images from your site?
I had that problem, turned off the "hot-link" protection, and haven't had a problem since.
Hope this helps.

28 Apr 2007, 3:29 AM
#1144
pjb923 avatar

pjb923

Zen Follower

Join Date:
Jan 2005
Location:
NY
Posts:
135
Plugin Contributions:
0

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

Yahoo has their own Control panal, but I couldn't find anything about hot-link protection.

If I disable image handler, I can upload files through the new products page, and they get the correct permissions. I tried playing around with the umask value, but nothing seems to work.

I found this while searching the Yahoo help.

Please note that you will not be able to change the permissions of any of your files to make them executable.

My guess is that any time you try to set the execute permission on a file, they are changing it to 600. Now the question is, how do I get around this?

30 Apr 2007, 7:03 PM
#1145
trudesign avatar

trudesign

New Zenner

Join Date:
Feb 2006
Posts:
72
Plugin Contributions:
0

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

Is it true that the zoom feature does not work in Internet Explorer?

30 Apr 2007, 7:38 PM
#1146
tvadpro avatar

tvadpro

Zen Follower

Join Date:
Aug 2005
Location:
Cincinnati
Posts:
323
Plugin Contributions:
0

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

I'm no expert in server configurations, but I can't imagine it's anything other than a problem with Yahoo's server configuration. Check with their tech support staff to make sure the permissions you set for those folders are not overridden somehow.> pjb923:

This store was set up with no problems on my own server, and then transfered to a Yahoo server for a client. The problem only started after the transfer.

30 Apr 2007, 11:54 PM
#1147
virtualahmad avatar

virtualahmad

Zen Follower

Join Date:
Jan 2006
Location:
Toronto, Ontario, Canada
Posts:
179
Plugin Contributions:
0

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

tvadpro:

I'm no expert in server configurations, but I can't imagine it's anything other than a problem with Yahoo's server configuration. Check with their tech support staff to make sure the permissions you set for those folders are not overridden somehow.

OMG ! I just had a client wanting to migrate to Yahoo... and i looked at their service... no problem... they support PHP, mySQL... sure... lets do it...

I'm migrating and come across 2 absolutely unforgiving restrictions Yahoo Small Business hosting has...

  1. you can NOT implement your own SSL certificate. You MUST use their shared... and their shared is not like others... files MUST be in a special "ssl" folder...

  2. filenames cannot have spaces... not that I put spaces in my filesnames... general no-no... but client has upload many images with spaces in the file names... although its a no-no... to actually prevent/restrict a file being uploaded as such...

ABSOLUTELY RIDICULOUS in my honest opinion.

I for one would NEVER ever recommend Yahoo small business hosting to anyone...

sorry, i had to mention that after reading the comments about troubles here...

2 May 2007, 4:24 PM
#1148
aaelghat avatar

aaelghat

Zen Follower

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

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

Hi, when I click on the image on the product info page, a pop-up box appears, but there is no zoomed image. You can see what I'm talking about by going here and looking at the image on the top left of the page.

Also, one thing I'm unclear about is why that product info page has an image on the top and bottom, but this similar one only has an image on the top. I didn't add any additional images - there's just the standard small, medium, and large.

Thanks.

2 May 2007, 6:40 PM
#1149
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

I am in the process of moving my store to a new host. But I have run into some problems with the image handler. I thought I copied all the files over. :oops:

In both the admin and the catalog side I keep getting numerous errors:

[B]Warning[/B]: imagejpeg(): Unable to open '/../bmz_cache/3/3ca60279e7e1cd3fd1b761c22a7e1015.image.110x51.jpg' for writing in [B]/../includes/classes/bmz_image_handler.class.php[/B] on line [B]651[/B]

So I thought I would test if i deleted the images and start again that would fix th problem. Well it did get rid of the error but I was undalbe to upload any images and i got this error:

[B]Warning[/B]: move_uploaded_file(/.../images/products/stamp-effect.jpg): failed to open stream: Permission denied in [B]/.../admin/includes/ih_manager.php[/B] on line [B]175[/B]

[B]Warning[/B]: move_uploaded_file(): Unable to move '/var/tmp/phpnbMiRk' to '/.../images/products/stamp-effect.jpg' in [B]/.../admin/includes/ih_manager.php[/B] on line [B]175[/B]

So what have I done wrong - what do I need to fix?

2 May 2007, 9:45 PM
#1150
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

bmz_cache and images has to be 777. Did you forget to CMOD after your move?

3 May 2007, 4:36 AM
#1151
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

:clap: That was it - I totally forgot. My other hosting company had those things set correctly (used fantastico) so I didn't think about it with the new server.

Thank you so much

3 May 2007, 5:07 AM
#1152
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

Anytime, snow. Glad to get you over your brain-fart. Hey, we ALL have 'em, right?:smile:

3 May 2007, 9:21 AM
#1153
motti avatar

motti

Zen Follower

Join Date:
Feb 2007
Location:
Los Angeles
Posts:
348
Plugin Contributions:
0

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

Need help here please

I install IH2 and it look like all working, the only problem it dose not find the images

My folder is in this order
/public_html/store/
/public_html/store/admin
/public_html/store/images/

While the file I unzip structure
Are like this

\image-handler_2.0-zc13\admin\ and I assume \image-handler_2.0-zc13= my store
\image-handler_2.0-zc13\bmz_cache
\image-handler_2.0-zc13\images
image-handler_2.0-zc13\images\large
\image-handler_2.0-zc13\images\medium
\image-handler_2.0-zc13\includes

in admin it dose read the product , but instate pic I have red x icon

Also in one of my category it say Product is Disabled

And that Linked Product 210

What did I so wrong?

3 May 2007, 12:41 PM
#1154
mtlfloss avatar

mtlfloss

New Zenner

Join Date:
Apr 2007
Location:
Montreal
Posts:
14
Plugin Contributions:
0

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

I searched a bit in this thread but I can't seem to find the answer to my problem (I didn't actually read all 118 pages but..)

My IH2 works fine, except for the fact that in the product information, only one of the different images appear, as if I hadn't installed IH2. In the admin however, I see all the different images. heres and example.

any ideas?

3 May 2007, 1:54 PM
#1155
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

mtlfloss, are you wanting more images per product page? If so, IH isn't designed to do that. It's designed to show** one** image place holder, with up to 3 different images:
1: default image on your home page
2. Larger image (which can be different image, or same image), upon hover of 1st image. This image will also be the one to show on the product page.
3. An even larger image upon click of 2nd image, which can still be the same image, or a different larger image.

But not to show all 3 on the same page.

4 May 2007, 11:54 AM
#1156
mtlfloss avatar

mtlfloss

New Zenner

Join Date:
Apr 2007
Location:
Montreal
Posts:
14
Plugin Contributions:
0

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

Lol I thought it could also display different images of a same product, not only different sizes of a same image, oh well, IH2 is still a great mod
:sadwalk:
By the way, If I wanted to display different images of a same product, how would I do it? (uploading different images with the same base name and different suffix doesnt seem to work)

4 May 2007, 12:56 PM
#1157
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

There's a fair bit of confusion going on here, so let's clear up a few things...

  1. IH2 works ONLY on product images.
  2. You upload your best quality image at the largest size you intend to display it (should never really be more than 750 px wide or 550px high - a lot of people still use 800x600 resolution monitors!) to the images directory, although you can upload to images/sub-directory if you wish.
  3. IH2 will then access this image and resize/optimise it on the fly for use as your thumbnail (the size used in the listings) or "medium" (the one on the product info page) images according to the dimensions set in admin > configuration > images. These on the fly images are stored in the bmz_cache.
  4. Using IH, you can** not** have a different picture for each size of image - if you want that, you must revert to the ZC default method of image management, where image.jpg, image_MED.jpg and image_LRG.jpg can be different pics.
  5. IH DOES allow you to have ***additional ***images - in fact, it makes it exceedingly easy. Simply go to admin > tools > Image Handler 2, select the product you want and add a new file. You don't need to worry about filename or the ZC image naming convention; IH does it for you.
4 May 2007, 8:07 PM
#1158
pjb923 avatar

pjb923

Zen Follower

Join Date:
Jan 2005
Location:
NY
Posts:
135
Plugin Contributions:
0

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

Ryk:

Using IH, you can** not** have a different picture for each size of image - if you want that, you must revert to the ZC default method of image management, where image.jpg, image_MED.jpg and image_LRG.jpg can be different pics.

This is not true. When you add a new file using IH, you have the option to upload separate images for the medium and large pictures.

4 May 2007, 8:26 PM
#1159
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

Good point - I was thinking of that as the Additional Images side of things because that's not activated through the product data entry page, but within the IH manager

7 May 2007, 8:47 PM
#1160
mfreund avatar

mfreund

Zen Follower

Join Date:
Aug 2005
Posts:
106
Plugin Contributions:
0

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

Hi

I have zen 1.37 iput in image handler 2 and seem to have a few problems. Admin works fine everything says it is installed. Seemms to look like it works but i add a product and ad an image from the catalog area of zen and then there is no picture for the product info page. I am uploading this image in its largest format. What am I doing wrong....I have GD on the box and in the images settings I set thinkg up to make JPG images.......I am just wnding up with a bunch of broken images for the medium and the large at least

Help

Matt