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

Results 2,361 to 2,380 of 7,094
10 Mar 2008, 2:59 PM
#2361
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,841
Plugin Contributions:
0

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

Ellie,
How large is the original image your are uploading for the product? I have seen people use extremely large images and Image handler will choke on them and grind page display to a halt.

10 Mar 2008, 3:14 PM
#2362
rjspomer avatar

rjspomer

Zen Follower

Join Date:
Jan 2008
Posts:
173
Plugin Contributions:
0

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

SaMortensen:

rjspomer - as just a newbie myself - just off the top of my head, you did go in and add additional images through the admin/tools/image handler...correct?

Yes I did I deleted the entries for just one product for a test. I then imported three diffrent images. I added the suffix and that all worked fine. The admin shows the three images in there different sizes, but the product page does not show the additional images.

I have the images named c_walnut.jpg, c_walnut_puff.jpg, and c_walnut_kleenex.jpg

Thanks

10 Mar 2008, 5:24 PM
#2363
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

rjspomer:

Yes I did I deleted the entries for just one product for a test. I then imported three diffrent images. I added the suffix and that all worked fine. The admin shows the three images in there different sizes, but the product page does not show the additional images.

I have the images named c_walnut.jpg, c_walnut_puff.jpg, and c_walnut_kleenex.jpg

Thanks

You do not add any suffix to the images as IH will do that when needed.
By adding a suffix to a image (_MED, _LRG) your are turning off IH for that image. Also by putting images in the images/medium, images/large folder turns off IH for those images.
You only need to upload "1" main image for your product.
Use the IH admin to upload additional images as IH will auto rename the images to the correct format. After doing this a few times you will see how IH renames additional images so you can now do it for your products and bulk upload using a FTP client if you choose.

You need to double check and make sure you unloaded "All" IH files.
You did miss one. jscript_imagehover.js
Should be here:

 includes/templates/iC_AcadameV1.2/jscript/jscript_imagehover.js

M

10 Mar 2008, 5:53 PM
#2364
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

pokerdis:

Hello, I relatively new to zencart so please bear with me.

I just installed IH2 and all seemed well when I left my small image sizing @ 125 x 125 (the way I had it before installing IH2), then I changed the small image size to 80 x 80 and I no longer have any hovering effect....change it back to 125 x 125 and all is well. I have no idea what to do to correct this. You can see at http://www.selfdefensesupplies.net

Just would like to clarify a few other things that I'm sure others are wondering and I could not find the answer in the forum:

  1. When installing ALL the files via ftp should I be creating a custom folder for each of the areas where the files should be installed so when I upgrade there will be no issues.

  2. If My default images are lets say 300 x 300 then when the larger image is displayed it will only show a max of 300 x 300..correct. If I want a larger image to show I will need to change all of my default images to 600 x 600 and re-upload.?

  3. When I re-uploaded some of my images after resizing they were over 120 kb, will this be a problem in page load time?

Sorry for all of the questions.

Regards,
Tom
http://www.selfdefensesupplies.net
http://www.pokerdiscount.net

Try a odd number for size so instead of 80x80, try 81x81.

  1. You are using "Template Overrides" right? Just follow the rules.

  2. Your image sizes are globally set in admin/configuration/images.
    So if your main product page image is set at 300x300 and you unload a 600x600 image, IH will resize to 300x300. Understand that the main product page image is the medium size image. So when clicking on the large image link you will get the 600x600 image.

  3. Even using IH, it is a good idea to always optimize your images.

M

10 Mar 2008, 6:17 PM
#2365
rjspomer avatar

rjspomer

Zen Follower

Join Date:
Jan 2008
Posts:
173
Plugin Contributions:
0

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

tophand:

You do not add any suffix to the images as IH will do that when needed.
By adding a suffix to a image (_MED, _LRG) your are turning off IH for that image. Also by putting images in the images/medium, images/large folder turns off IH for those images.
You only need to upload "1" main image for your product.
Use the IH admin to upload additional images as IH will auto rename the images to the correct format. After doing this a few times you will see how IH renames additional images so you can now do it for your products and bulk upload using a FTP client if you choose.

You need to double check and make sure you unloaded "All" IH files.
You did miss one. jscript_imagehover.js
Should be here:

includes/templates/iC_AcadameV1.2/jscript/jscript_imagehover.js

> 
> M

Hi Tom, 

Thanks
You were right the jscript was missing. It was in the template_default file. I am a little confused as to why there is the template_custom file and classic file. I put all that was in the custom in my template file but not the others. The hot spot hover now works but that will be turned off I do not care for that function.

As far as the other additional images goes. There is an option in IH2 manager to specify a suffix name. IH2 will put 01, 02 as the suffix. I put in the box,  kleenex, puff. If you look at the source code they are there but are not showing. 

**[http://www.rjfinewood.com/store/tissue-box-covers-regular-2/tissue-box-cover-exotic-european-walnut-burl-21.html](http://www.rjfinewood.com/store/tissue-box-covers-regular-2/tissue-box-cover-exotic-european-walnut-burl-21.html)**
11 Mar 2008, 2:06 AM
#2366
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

rjspomer:

Hi Tom,

Thanks
You were right the jscript was missing. It was in the template_default file. I am a little confused as to why there is the template_custom file and classic file. I put all that was in the custom in my template file but not the others. The hot spot hover now works but that will be turned off I do not care for that function.

As far as the other additional images goes. There is an option in IH2 manager to specify a suffix name. IH2 will put 01, 02 as the suffix. I put in the box, kleenex, puff. If you look at the source code they are there but are not showing.

http://www.rjfinewood.com/store/tissue-box-covers-regular-2/tissue-box-cover-exotic-european-walnut-burl-21.html

I see the additional images just fine.

M

11 Mar 2008, 2:58 AM
#2367
digidiva_kathy avatar

digidiva_kathy

Zen Follower

Join Date:
May 2006
Posts:
323
Plugin Contributions:
0

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

capnhairdo:

Hi,

Just installed IH2 on our 1.3.7.1 cart and it's working great. Brilliant contribution! But I had some minor issues:

  1. couldn't get zooms working on category product listings (but worked on New Products, Featured Products, etc.)
  2. couldn't get zooms working on medium (product page) images

After pulling apart the IH code, I learned some stuff that might be helpful to other IH users, which I couldn't find in the documentation at BreakMyZenCart. (Apologies if this has already been posted...I haven't read through all 215 pages of this thread to find out, and can't seem to find anything relevant by searching.)

Problem #1: ImageHandler handles three "sizetypes" of images: "small", "medium" and "large". It determines which sizetype it's working with in two ways:

  1. for medium and large images, it searches for "_medium" and "_large" in the filenames
  2. for small images, it checks to see if the width and height of the image are IDENTICAL to the "Small Image Width" and "Height" set in Admin > Configuration > Images. If the dimensions are not identical, and the image is not already identified as a medium or large image, it's labelled as "generic", and no zoom behavior can be applied.

Therefore, to enable zoom behavior on ALL images (e.g., category product listings, "new product" listings, "featured product" listings, etc.), you first need to make sure that the following options MATCH the "Small Image Width" and "Height" in Admin > Configuration > Images:

Image - Product Listing
Image - Product Listing
Image - Product New Listing
Image - Product New Listing
Image - New Products Width
Image - New Products Height
Image - Featured Products Width
Image - Featured Products Height
Image - Product All Listing Width
Image - Product All Listing Height

THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU!!!!!!!!!

11 Mar 2008, 3:08 AM
#2368
rjspomer avatar

rjspomer

Zen Follower

Join Date:
Jan 2008
Posts:
173
Plugin Contributions:
0

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

tophand:

I see the additional images just fine.

M

Yes the issue was in my tpl_product_info_display.php file I was moving the additional image block up and it must of got cut.

Thanks again for your help

12 Mar 2008, 7:33 AM
#2369
mrmeech avatar

mrmeech

Zen Follower

Join Date:
Nov 2006
Location:
New York City
Posts:
248
Plugin Contributions:
0

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

Hello,

I have IH installed on my site and have some mysterious image processing happening - some images are processed by IH but not others, even if they are side by side, same dimensions, same file rights, etc...

One great example of this awkward problem can be seen here:

http://qcookies.com/index.php?main_page=index&cPath=66

If you view this in firefox, for example, and you view the Page Info, and then click on the Media tab and go through the image locations, you can see how the image for Easter is the only one NOT processed.

This problem runs rampant throughout the site and i cannot figure out why it's being so mysterious selective with the images it chooses to process. To the best of my knowledge my image settings are good, but this image in the category view that will not conform is a perfect example of how all the conditions are the same and it's being treated differently.

ANY thoughts on this?

Thanks so much-

12 Mar 2008, 4:51 PM
#2370
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

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

So far 1 out of 60 images yield this error when the mouse hovers over the Zooming (hot zone+) on a small image showing the MED image size:

from the product info page:

additional_product_image_01.jpg :

javascript error: missing ) after argument list
[Break on this error] showtrail('bmz_cache/6/..........image.395x400.jpg','Product...

I have tired clearing the bmz_cache but IH2 just creates the same image number and error.

running ZC 1.3.8a with IH2_2.0-zc137

Seems ood, that it only happens once in a while...

.Anybody else see this error? Anyway to fix it?

12 Mar 2008, 6:38 PM
#2371
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

dharma:

So far 1 out of 60 images yield this error when the mouse hovers over the Zooming (hot zone+) on a small image showing the MED image size:

from the product info page:

additional_product_image_01.jpg :

javascript error: missing ) after argument list
[Break on this error] showtrail('bmz_cache/6/..........image.395x400.jpg','Product...

I have tired clearing the bmz_cache but IH2 just creates the same image number and error.

running ZC 1.3.8a with IH2_2.0-zc137

Seems ood, that it only happens once in a while...

.Anybody else see this error? Anyway to fix it?

Any special characters in the Product Titles?

12 Mar 2008, 6:48 PM
#2372
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

dharma, when this happens, is it just on images that has sizes like 395X400? If so, you might try setting the image to 400X400. Don't know if that'll help or not, but I've had odd sizes like that to give me problems, before.

12 Mar 2008, 6:56 PM
#2373
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

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

Yes! This > ' seem to muck things up, I removed and it works ok now...what would use suggest then if I need to place an > ' in the product title? is there a workaround? Many of my products require an '

12 Mar 2008, 7:11 PM
#2374
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

dharma:

Yes! This seem to muck things up, I removed and it works ok now...what would use suggest then if I need to place an in the product title? is there a workaround? Many of my products require an '

You can remove the title from the JS all together, or make sure it's encoded using htmlentities before being sent to the JS.

12 Mar 2008, 7:21 PM
#2375
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

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

I Like the title of the product with the picture, so I guess I leave it in the javascript file and do a google search for this "htmlentities" :eek:business....

Thank you so much for a quick fix and response!:clap:

12 Mar 2008, 8:02 PM
#2376
gurudarbar avatar

gurudarbar

New Zenner

Join Date:
Feb 2005
Posts:
29
Plugin Contributions:
0

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

I have a test site site up here:

http://host277.ipowerweb.com/~ninetrea/

I remember having installed an old version of IH 1.x on it. Now i've installed IH2 for 1.3.7 and unfortunately it isn't working.

Image hovers are broken and images aren't being resized.

Can any Zen Master help me or at least shed some light and point me in the right direction?

Thanks!

12 Mar 2008, 9:59 PM
#2377
mrmeech avatar

mrmeech

Zen Follower

Join Date:
Nov 2006
Location:
New York City
Posts:
248
Plugin Contributions:
0

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

mrmeech:

Hello,

I have IH installed on my site and have some mysterious image processing happening - some images are processed by IH but not others, even if they are side by side, same dimensions, same file rights, etc...

One great example of this awkward problem can be seen here:

http://qcookies.com/index.php?main_page=index&cPath=66

If you view this in firefox, for example, and you view the Page Info, and then click on the Media tab and go through the image locations, you can see how the image for Easter is the only one NOT processed.

This problem runs rampant throughout the site and i cannot figure out why it's being so mysterious selective with the images it chooses to process. To the best of my knowledge my image settings are good, but this image in the category view that will not conform is a perfect example of how all the conditions are the same and it's being treated differently.

Any thoughts on this?

Thanks so much-

Hey Guys - just wanted to make sure my post here doesn't disappear into the dark! No guesses what causing this?

13 Mar 2008, 3:26 AM
#2378
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

mrmeech:

Hey Guys - just wanted to make sure my post here doesn't disappear into the dark! No guesses what causing this?

Have you tried clearing the bmz_cache?

What I do:
admin->tools->Image Handler->Admin and click "Remove Image Handler from Database".
Note: Doing this does not delete "any" files.
Now click the link "Clear image cache".
Might also ftp or use your host control panel and delete all sub folders under bmz_cache folder.
Now click the link to install image handler.

M

13 Mar 2008, 3:31 AM
#2379
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

gurudarbar:

I have a test site site up here:

http://host277.ipowerweb.com/~ninetrea/

I remember having installed an old version of IH 1.x on it. Now i've installed IH2 for 1.3.7 and unfortunately it isn't working.

Image hovers are broken and images aren't being resized.

Can any Zen Master help me or at least shed some light and point me in the right direction?

Thanks!

Did you install Image handler?
admin-->tools-->Image handler-->admin

M

13 Mar 2008, 5:38 AM
#2380
gurudarbar avatar

gurudarbar

New Zenner

Join Date:
Feb 2005
Posts:
29
Plugin Contributions:
0

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

tophand:

Have you tried clearing the bmz_cache?

What I do:
admin->tools->Image Handler->Admin and click "Remove Image Handler from Database".
Note: Doing this does not delete "any" files.
Now click the link "Clear image cache".
Might also ftp or use your host control panel and delete all sub folders under bmz_cache folder.
Now click the link to install image handler.

M

Tried that, no sucesss....

tophand:

Did you install Image handler?
admin-->tools-->Image handler-->admin

M

Yes, I have installed it using the admin installer. Still no luck. What I do is select an item from the categories, then browse for the picture locally, then it looks like it uploads the image and even spits back a little message saying it saved the image successfully.

However, the image thumbnails are blank and there are seemingly no images visible where I just uploaded the image....check the screen cap...

Any ideas?