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

Results 1,281 to 1,300 of 7,094
11 Jun 2007, 5:20 AM
#1281
mrmeech avatar

mrmeech

Zen Follower

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

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

jettrue:

Can I see a link?

http://www.qcookies.com

11 Jun 2007, 5:43 AM
#1282
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

Get Em Fast:

So, you DO have in the "images/medium" folder, a watermark named "watermark_MED.png", and in the "images/large" folder, a watermark named "watermark_LRG.png" ?...............Just checking.

Yes, the watermark_MED.png and the watermark_LRG.png files are in place in their respective folders.

I'm not sure if this makes a difference, but i upgraded my cart from 1.3.5 to 1.3.7. Is it possible it could be a database issue? When i was re-creating the new 1.3.7 site, i noticed that after i uploaded the IH2 files to all of their respective folders, that i did not have an "install IH2" button in the IH2 admin control panel. Instead, it was magically installed. I'm assuming stuff carried over from the 1.3.5 database info. So, just to make sure, i deleted IH2 from the database with the provided link, and installed it again, with the provided link.

If it helps, the site is http://www.qcookies.com

Now, i just found out something interesting... Essentially, all of my images for products are in images/product_images. There is also images/large and images/medium (with the correct png file and zoom files, respectively.) In the main images folder i have a watermark.png and zoom.png file as spec'ed in the IH2 installation instructions. Now, putting an image into the large folder does not generate a "large" image on the website. But if i go into the images/product_images folder and create an image with the _LRG suffix, it will show up on the product page with a watermark as an additional image on the bottom. The same image without the suffix (that generates the main image) does not plop a watermark on the main image once you click to zoom in.

I really hope that all made sense. If it didn't, i'll have a second attempt at explaining it. :dontgetit

11 Jun 2007, 1:10 PM
#1283
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

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

mrmeech:

Yes, the watermark_MED.png and the watermark_LRG.png files are in place in their respective folders.

I'm not sure if this makes a difference, but i upgraded my cart from 1.3.5 to 1.3.7. Is it possible it could be a database issue? When i was re-creating the new 1.3.7 site, i noticed that after i uploaded the IH2 files to all of their respective folders, that i did not have an "install IH2" button in the IH2 admin control panel. Instead, it was magically installed. I'm assuming stuff carried over from the 1.3.5 database info. So, just to make sure, i deleted IH2 from the database with the provided link, and installed it again, with the provided link.

If it helps, the site is http://www.qcookies.com

Now, i just found out something interesting... Essentially, all of my images for products are in images/product_images. There is also images/large and images/medium (with the correct png file and zoom files, respectively.) In the main images folder i have a watermark.png and zoom.png file as spec'ed in the IH2 installation instructions. Now, putting an image into the large folder does not generate a "large" image on the website. But if i go into the images/product_images folder and create an image with the _LRG suffix, it will show up on the product page with a watermark as an additional image on the bottom. The same image without the suffix (that generates the main image) does not plop a watermark on the main image once you click to zoom in.

I really hope that all made sense. If it didn't, i'll have a second attempt at explaining it. :dontgetit

I think here lies your problem. I always just upload images to the main directory, but if you are choosing to put them in a different folder, then I suppose your watermark needs to be in images/large/product_images/ folder? Again, I'm not too positive, because I've never uploaded them into a different folder, but I am sure that you have your watermark in the wrong place, since you use a different image folder.

Also, with IH2, you should not be uploading any large images manually. You upload the size you want your large image to be, then IH2 will automatically re-size your small and medium images for you, according to your image sizes set in your admin. But if you were doing it manually (which kind of defeats the purpose of installing IH2 in the first place), again, you have things in the wrong folder, since you are putting your images in a different folder. any large images would need to be in images/large/product_images/

If I were you, I'd make my life easier, and keep everything in the default images folder, as I'm not sure how well IH2 is programmed to work with different folders?

ETA: Here's the faq link for image folder issues:
https://www.zen-cart.com/tutorials/index.php?article=58

11 Jun 2007, 2:39 PM
#1284
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

That's right, jettru.....the images need to be in the main image directory, if you want just one image.....if you want more than one image, then the images STILL need to be in MAIN "images/medium" & "images/large" folders. And so do the watermark.png's.

mrmeech.......are you wanting just one image to be resized for each product, or are you trying for 1 small image on the index page, with a DIFFERENT, yet bigger image on hover (which will be the same as on the product info page), and yet a DIFFERENT, yet larger image upon click of the product info image?
If you want the same image, just resized, then you don't need ANY _MED, or _LRG images AT ALL.

11 Jun 2007, 11:56 PM
#1285
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

Get Em Fast:

That's right, jettru.....the images need to be in the main image directory, if you want just one image.....if you want more than one image, then the images STILL need to be in MAIN "images/medium" & "images/large" folders. And so do the watermark.png's.

mrmeech.......are you wanting just one image to be resized for each product, or are you trying for 1 small image on the index page, with a DIFFERENT, yet bigger image on hover (which will be the same as on the product info page), and yet a DIFFERENT, yet larger image upon click of the product info image?
If you want the same image, just resized, then you don't need ANY _MED, or _LRG images AT ALL.

I just want the same image resized. I was giving you the info on the _LRG and _MED files, where i tried placing them, and what happened, simply to try to give everyone an idea of how IH2 is behaving.

I just tried moving a few product images from the images/product_images folder to the default image folder (and, of course updated the path in the database for the product to reflect the change) and it still did not watermark the image. I also tried clearing the cache through the IH2 admin - didn't fix it either... hmph :(

12 Jun 2007, 12:00 AM
#1286
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

jettrue:

I think here lies your problem. I always just upload images to the main directory, but if you are choosing to put them in a different folder, then I suppose your watermark needs to be in images/large/product_images/ folder? Again, I'm not too positive, because I've never uploaded them into a different folder, but I am sure that you have your watermark in the wrong place, since you use a different image folder.

Also, with IH2, you should not be uploading any large images manually. You upload the size you want your large image to be, then IH2 will automatically re-size your small and medium images for you, according to your image sizes set in your admin. But if you were doing it manually (which kind of defeats the purpose of installing IH2 in the first place), again, you have things in the wrong folder, since you are putting your images in a different folder. any large images would need to be in images/large/product_images/

If I were you, I'd make my life easier, and keep everything in the default images folder, as I'm not sure how well IH2 is programmed to work with different folders?

ETA: Here's the faq link for image folder issues:
https://www.zen-cart.com/tutorials/index.php?article=58

Jettrue, please see my response to Get Em Fast. (Essentially, I tried moving some test images to the default image folder but it still didn't work... i also cleared the cache in the IH2 control panel and updated the database product table to reflect the image path change...)

12 Jun 2007, 1:53 PM
#1287
kruna avatar

kruna

Zen Follower

Join Date:
Sep 2006
Posts:
405
Plugin Contributions:
0

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

Quote:
Originally Posted by audradh [IMG]http://www.zen-cart.com/forum/images/ZCgreen/buttons/viewpost.gif[/IMG]
*I have also tried jettrue's fix to no avail. I did get a parse error the first go round, but that must have been human error because I'm no longer receiving that after re-editting, downloading fresh copy of IH2 and editting the file from there, copying the code from 2 separate posts... you name it I have tried it, still only 1 image :wacko: I have cleared my cache, switched to IE, which I rarely use, checked multiple products, none have additional images. Configuration->Images->Product Info - Number of Additional Images per Row is set to 3.

BTW, I can see the additional images in IH2, but nothing shows in the catalog.

Any thoughts?
Audra*

I got worried cause I never tested more than one additional image with my code fix :blush:, but its working for me. http://www.zencart137.jadetrue.com/i...&products_id=8

The images were uploaded using the IH tool in the admin.

I'm attaching my classes/bmz_image_handler.php, just in cause there was an issue with your edit.

Also make sure you've uploaded the new includes/modules/additional_images.php that comes with this mod.

THANK YOU SO MUCH JETTRUE....the file classes/bmz_image_handler.php, you attached did the work:clap:
Now I can see the other images too, must have been...dunno, anyway and again, thank you very much.

Regards,
Kruna

12 Jun 2007, 2:23 PM
#1288
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

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

mrmeech:

Jettrue, please see my response to Get Em Fast. (Essentially, I tried moving some test images to the default image folder but it still didn't work... i also cleared the cache in the IH2 control panel and updated the database product table to reflect the image path change...)

Are you only uploading one image? Removed the _MED and _LRG files? Can you link me to a product where they are no longer in the product_images folder?

12 Jun 2007, 6:14 PM
#1289
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

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

jettrue:

I notice line 126 and 128 of bmz_image_hander.class.php deal with large and medium sizing. Check your image heights/widths, and make sure they are not empty?

ETA: Also make sure you have a suffix in the suffix boxes:

Product Info - Image Medium Suffix: _MED
Product Info - Image Large Suffix: _LRG

Yup! That was what the probem was. I had those feilds empty...

Thanks so much

12 Jun 2007, 6:55 PM
#1290
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

jettrue:

Are you only uploading one image? Removed the _MED and _LRG files? Can you link me to a product where they are no longer in the product_images folder?

I moved the image for this product out of the images/product_images folder and it is now in the main image directory. There are no _MED or _LRG files.

http://www.qcookies.com/index.php?main_page=product_info&cPath=65&products_id=388

12 Jun 2007, 11:56 PM
#1291
stevekim avatar

stevekim

New Zenner

Join Date:
Apr 2007
Location:
Los Angeles, CA
Posts:
44
Plugin Contributions:
0

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

wasana:

and one more question...

any way to keep animated gif's working for product images?

yes, I know they are so 90's but I've got one image that works great for what I need but IH stops the animation... I tried deleting in IH2 manager and loading it via ZC categories/products but IH2 still controls it (hover)

ideas....

:yes:

Has anyone succeeded having both animated gif and ih2?
It works either one of two following for me:

  1. No resizing of small image then it gets animated with no zooming image hover.
  2. Small images are not animated, but the hovering zoomed image gets animated. <-- this would be a better option, but so much for making animated gifs. I'd rather have animating small image that does not animate when [hovered and] zoomed.

In other words, when the small image is set to be resized, it's not animated. [although it's not actually being resized. The animated image that I'm playing with is exactly the size of small image setting].

Anyone?
Or has anyone got a good explanation so that I stop trying??

13 Jun 2007, 4:24 AM
#1292
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

Get Em Fast:

That's right, jettru.....the images need to be in the main image directory, if you want just one image.....if you want more than one image, then the images STILL need to be in MAIN "images/medium" & "images/large" folders. And so do the watermark.png's.

mrmeech.......are you wanting just one image to be resized for each product, or are you trying for 1 small image on the index page, with a DIFFERENT, yet bigger image on hover (which will be the same as on the product info page), and yet a DIFFERENT, yet larger image upon click of the product info image?
If you want the same image, just resized, then you don't need ANY _MED, or _LRG images AT ALL.

So i just noticed that the large image isn't being processed by IH2 at all (i don't think). Essentially, it doesn't matter which folder i have the image in (being either the main image folder or my images/product_images folder) once i click on the product image to zoom to the large image, i noticed that the filename of the large image never changes. Ya know how the image filename gets converted to a bunch of numbers and letters once it shoots through IH2? Well, that's not happening somehow. What could be preventing this?

For anyone that hasn't been following along with this, here's a link to the site in question: http://www.qcookies.com

14 Jun 2007, 5:44 AM
#1293
raunharman avatar

raunharman

Zen Follower

Join Date:
Dec 2005
Posts:
165
Plugin Contributions:
0

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

Hi!
I am using Zen Cart 1.2.6d and have been succesfully using SEFU for about a year. Excellent contribution.
Today, I thought of using Image Handler 2 also with this website. Though the IH installed very well and is working, SEFU stopped working. It does not go beyond the home page.
My website is https://www.indiansalwarkameez.net
I have turned off SEFU as of now but I desperately need to have it working soon.
I noticed that it adds "cpath" in the URL and the file extension .html is also missing, which causes it to show up an error.

15 Jun 2007, 4:50 AM
#1294
tstamplis avatar

tstamplis

New Zenner

Join Date:
Oct 2006
Posts:
62
Plugin Contributions:
0

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

Well, I don't know how it happened, or even when! But at some point I lost the ability to click the medium image on the product page to get the large pop-up window. There is no link text that says "Click for larger image" and clicking the medium image does nothing. Everything else is working just fine. I don't know what happened, and I definately don't know how to fix it! Any help would be appreciated!

Zen Cart 1.3.7
IH 2.0

http://impressionslast.com

15 Jun 2007, 3:53 PM
#1295
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

Couldn't begin to tell you why this happened, but I DID notice a type-o in your footer:
Desing by: IDEAS

Should be:

Design by: IDEAS

15 Jun 2007, 4:10 PM
#1296
tstamplis avatar

tstamplis

New Zenner

Join Date:
Oct 2006
Posts:
62
Plugin Contributions:
0

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

Fixed the footer typo, thanks. Anyone with an idea about the large image link disappearing?

15 Jun 2007, 4:28 PM
#1297
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

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

tst...

Basically if you alter any image size setting in zencart admin, after you have some cart pages working, it may upset IH2 because IH2 may use the required image's actual pixel dimensions to decide on whether its medium large or small, and IH2 only switches on the popup or watermark if it can decide what image size (small/med/large) it is, by reference to its own config settings.

Check in the images section in admin, for sizes (I think maybe the IH2 settings need to match zencart settings for a specific size) and clear the image cache manually anyway if you alter any size setting whatsoever.

Re another post, pages will hang or be blank specially in product listing, if the image gd/image_magick uses up all the server allocated php memory when IH2 resizes any single image.

Go find that image you uploaded that was a bit too big, upload a smaller one. My host server's processing size limit is about 900px/900px jpg, with allocated memory of 8Mb.

15 Jun 2007, 4:42 PM
#1298
tstamplis avatar

tstamplis

New Zenner

Join Date:
Oct 2006
Posts:
62
Plugin Contributions:
0

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

Well, I have determined that this is a template issue, it doesn't have anything to do with admin settings or IH2. When I switch to the classic green template, the link for the large images returns. So i need to find out which file controls this behavior so I can fix it in my custom template. Anyone know what file controls this?

15 Jun 2007, 5:23 PM
#1299
kruna avatar

kruna

Zen Follower

Join Date:
Sep 2006
Posts:
405
Plugin Contributions:
0

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

Hi all,

I am sorry if this has been asked many times and surely answered, but after reading all morning I just cant find any solution.

Please take a look at https://www.clickyshop.com

The images at the Featured (productos destacados) sidebox on the right do pop up and show a bigger image, but how can I accomplish this for the images in NEW PRODUCTS FOR JUNE (nuevos productos en junio), FEATURED and SPECIALS in the middle.

Did I miss something?

Thanks a lot in advanced.

Best regards,
Kruna

15 Jun 2007, 5:32 PM
#1300
tstamplis avatar

tstamplis

New Zenner

Join Date:
Oct 2006
Posts:
62
Plugin Contributions:
0

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

Found the problem. It was the tpl_modules_main_product_image.php file. I don't know which mod changed it (it doesn't appear to be IH2), but it was the culpret.