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

Results 2,441 to 2,460 of 7,094
24 Mar 2008, 4:10 PM
#2441
stampsville avatar

stampsville

Zen Follower

Join Date:
Jul 2004
Posts:
123
Plugin Contributions:
0

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

Hi all,

Anyone know what the maximum number of images in one product can be? Just hit 36 images and it seems to have crashed my IH2 for that product only.
Images are 44Kb each. Size reduction?
Thanks
GJW

24 Mar 2008, 4:51 PM
#2442
stampsville avatar

stampsville

Zen Follower

Join Date:
Jul 2004
Posts:
123
Plugin Contributions:
0

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

Cancel that. Just looked at the last image I uploaded and it was 300 K, forgot to resize.

GJW

25 Mar 2008, 12:16 AM
#2443
wcironsales avatar

wcironsales

New Zenner

Join Date:
Sep 2005
Location:
Gladstone, Oregon
Posts:
40
Plugin Contributions:
0

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

Image Handler is supposed to resize the images and upload them into the image/ image/LARGE and image/MEDIUM folder which it does not do.

What version of Zen Cart are you using?

File sizes are 455KB to 176KB.

tophand:

I can see your additional images just fine.
The hover works fine on them.
There is a problem with the large pop-up.
Did you up load this size of image for auto_01, auto_02 (width="1024" height="768)? What is the MB image size?
Is this the size you want to display cause your main product large image is only 733x550.

M

25 Mar 2008, 12:35 AM
#2444
jgarrotef avatar

jgarrotef

New Zenner

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

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

Hi

I've problems with watermarks, i tryed reinstalling IH2 (deleting files and copy them again..) i checked 20 times bmz_cache folder permissions (777) and images folder permissions but... nothing, watermarks still not working

I saw that some folders are created on bmz_cache folder but not files...¿?¿?¿?

¿could please anyone help me?

my web: http://www.tecnorincon.com/index.php?main_page=product_info&cPath=1205&products_id=174

Really thanks

Mr Garrote

25 Mar 2008, 1:40 AM
#2445
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

wcironsales:

Image Handler is supposed to resize the images and upload them into the image/ image/LARGE and image/MEDIUM folder which it does not do.

What version of Zen Cart are you using?

File sizes are 455KB to 176KB.

Are you thinking that IH processed images as you uploaded to your website?

IH does "Not" resize and upload images to the MEDIUM and LARGE folders.
What IH does from the "1" product image you upload to the "image" folder is to create the small, medium and large image on the fly when needed, that is when someone visits your website. Does the something for additional images.
All images processed by IH go to the bmz_cache folder.

By putting images in the MEDIUM/LARGE folders you are turning off IH for those images which then defaults to Zen-Cart image handling.

I pre-process my large images to upload to be no bigger then 160 kb.

I'm using Version: 2.0 v0916 on 1.3.7

M

25 Mar 2008, 1:54 AM
#2446
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

jgarrotef:

Hi

I've problems with watermarks, i tryed reinstalling IH2 (deleting files and copy them again..) i checked 20 times bmz_cache folder permissions (777) and images folder permissions but... nothing, watermarks still not working

I saw that some folders are created on bmz_cache folder but not files...¿?¿?¿?

¿could please anyone help me?

my web: http://www.tecnorincon.com/index.php?main_page=product_info&cPath=1205&products_id=174

Really thanks

Mr Garrote

See my post ^^^ above for what happens when you put images in the MEDIUM/LARGE folders.
Also you need to rethink how you are going to name your images if you plan to use additional images.
https://www.zen-cart.com/tutorials/index.php?article=315
https://www.zen-cart.com/tutorials/index.php?article=58

M

25 Mar 2008, 9:57 AM
#2447
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

Just as tophand mentioned, it seems to be an OPERATOR ERROR, we have a fix for the js error and we HAVE sites that work, so it MUST be OE :lookaroun
IMO

wcironsales:

I am surprised after reading this forum that there is no FIX for IH2, pretty disappointing. I will remove this mod. It has been nothing but a big waste of my time and I see others have not fixed theirs yet.

1 image for product will work but additional LARGE and MEDIUM images to not get created or uploaded.

No explanation of the category_product_listing.php.patch file found in admin\includes\modules

Even if you had an older Image Handler version working this one probably won't.

Support here shows no FIX and my suggestion is do not download and waste your time. Read the forum and there is not FIX for IH2 and any Zen Cart version.

25 Mar 2008, 8:31 PM
#2448
jgarrotef avatar

jgarrotef

New Zenner

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

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

tophand:

See my post ^^^ above for what happens when you put images in the MEDIUM/LARGE folders.
Also you need to rethink how you are going to name your images if you plan to use additional images.
https://www.zen-cart.com/tutorials/index.php?article=315
https://www.zen-cart.com/tutorials/index.php?article=58

M
Thanks tophand but it's still not working

I have deleted the \image<images> and the \image\medium<images> and moved and renamed the large ones to the \images folder

all watermark options are enabled but.. it's still not working :(

http://www.tecnorincon.com/index.php?main_page=product_info&cPath=1207&products_id=176

25 Mar 2008, 9:22 PM
#2449
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

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

jgarrotef:

Thanks tophand but it's still not working

I have deleted the \image<images> and the \image\medium<images> and moved and renamed the large ones to the \images folder

all watermark options are enabled but.. it's still not working :(

http://www.tecnorincon.com/index.php?main_page=product_info&cPath=1207&products_id=176

The images on the page in your link are working for me. They take a second to load but they do.

26 Mar 2008, 1:36 AM
#2450
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

jgarrotef:

Thanks tophand but it's still not working

I have deleted the \image<images> and the \image\medium<images> and moved and renamed the large ones to the \images folder

all watermark options are enabled but.. it's still not working :(

http://www.tecnorincon.com/index.php?main_page=product_info&cPath=1207&products_id=176

What file type is your watermark?
You do need to have the watermark file in the image/medium and image/large folders.

M

26 Mar 2008, 2:00 AM
#2451
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

AndyII:

Just as tophand mentioned, it seems to be an OPERATOR ERROR, we have a fix for the js error and we HAVE sites that work, so it MUST be OE :lookaroun
IMO

Well inWcironsales case I don't believe it was an operator error but more of not understanding how IH works and was expecting IH to work in a different way.
My user error comment was a blanket comment to Wcironsales post that IH is broken don't use comment.

M

26 Mar 2008, 4:04 AM
#2452
zafer avatar

zafer

New Zenner

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

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

tophand:

Well inWcironsales case I don't believe it was an operator error but more of not understanding how IH works and was expecting IH to work in a different way.
My user error comment was a blanket comment to Wcironsales post that IH is broken don't use comment.

M


Hello , I am trying to caught up with IH2 and understand how to fix this JS error. I have additional images and enlargement is not working. I tried deleting large and med. folder files as explained above with no success. Please explain the the JS fix is and make suggestions, Much appreciated.

https://www.pillownpillows.com

zafer

26 Mar 2008, 4:19 AM
#2453
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

zafer:


Hello , I am trying to caught up with IH2 and understand how to fix this JS error. I have additional images and enlargement is not working. I tried deleting large and med. folder files as explained above with no success. Please explain the the JS fix is and make suggestions, Much appreciated.

www.pillownpillows.com

zafer

Well, you didn't double check to see if you uploaded all the IH files.
You are missing one.

 includes/templates/comstock/jscript/jscript_imagehover.js

Take care of this then see were how things work.

M

26 Mar 2008, 4:22 AM
#2454
zafer avatar

zafer

New Zenner

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

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

tophand:

Well inWcironsales case I don't believe it was an operator error but more of not understanding how IH works and was expecting IH to work in a different way.
My user error comment was a blanket comment to Wcironsales post that IH is broken don't use comment.

M


Hello , I am trying to catch up with IH2 and understand how to fix this JS error. I have additional images and enlargement is not working. I tried deleting large and med. folder files as explained above with no success. Please explain what the JS fix is and make suggestions, Much appreciated.

https://www.pillownpillows.com

zafer

26 Mar 2008, 7:27 AM
#2455
wcironsales avatar

wcironsales

New Zenner

Join Date:
Sep 2005
Location:
Gladstone, Oregon
Posts:
40
Plugin Contributions:
0

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

The additional image fix forum post # 999 also # 986 does not fix my additional images problem for some reason.

Actual store in production is http://wcironsales.com/store

Actual IH2 files I'm using can be accessed at: http://wcironsales.com/ih2

I could sure use help on this.

Here is some things I noticed during winmerge processing. I am not sure there importance and I have tried using both options with no avail.


The apostrophe on the number 1 in IH2 compared to **1.3.8a **which has no apostrophe

File includes/modules/additional_images.php

Image handler 2
Line 47: if(preg_match("/" . $products_image_base . "/i", $file) == '1') {

Zen Cart 1.3.8a
Line 47: if(preg_match("/" . $products_image_base . "/i", $file) == 1) {


These 3 files in Image Handler 2 at end of the below 3 files the ?> has been removed. I have not noticed a difference with them or without them
includes/modules/pages/popup_image/header_php.php
includes/modules/pages/popup_image_additional/header_php.php


There are only 6 IH2 mod files that are different between IH2 and Zen Cart **1.3.8a **these files are:
admin/includes/modules/category_product_listing.php
includes/modules/pages/popup_image/header_php.php
includes/modules/pages/popup_image_additional/header_php.php
includes/modules/additional_images.php
includes/modules/main_product_image.php
includes/templates/template_default/popup_image_additional/tpl_main_page.php


For this IH2 version mod files that are different between Zen Cart version **1.3.8a **and version 1.3.7.1 are:
includes/modules/pages/popup_image/header_php.php
includes/modules/additional_images.php


One more note for the record. This IH2 version creates LARGE & MEDIUM images on the fly on page request. It does not create _LRG and _MED images and place into the /LARGE/ and /MEDIUM/ folders as a previous version did. I was not expecting this on this version and overlooked at first.

26 Mar 2008, 4:38 PM
#2456
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

wcironsales:

The additional image fix forum post # 999 also # 986 does not fix my additional images problem for some reason.

Actual store in production is http://wcironsales.com/store

Actual IH2 files I'm using can be accessed at: http://wcironsales.com/ih2

I could sure use help on this.

I see your additional images and the hover works. The problem is the pop-up for the large additional images, correct?
All your test main products image large pop-ups work (733x550).
The pop-up is the same code for both the main image and the additional images. So why does one work and the other doesn't?
Could it be that the large image that works is 733x550 and the one that doesn't is 1024x768?

Trouble shooting tips:
Have you cleared all the sub-folders (delete) from the bmz_cache folder? You can do this from IH admin or use your host control panel or FTP.
Instead having an image 1024x768, try a smaller image. This might be more of GD libraries or ImageMagick problem. Be sure to clear bmz_cache sub-folders first.
How are you uploading the images?

M

26 Mar 2008, 8:49 PM
#2457
jgarrotef avatar

jgarrotef

New Zenner

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

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

tophand:

What file type is your watermark?
You do need to have the watermark file in the image/medium and image/large folders.

M
still not working

doubble check and my image/medium and image/large folders have the watermarks includedd in the IH2 download

no pictures are created at bmz_cache folder, only folders were created i i delete thouse folders they are created again but only folders, no pictures

:(

26 Mar 2008, 9:49 PM
#2458
wcironsales avatar

wcironsales

New Zenner

Join Date:
Sep 2005
Location:
Gladstone, Oregon
Posts:
40
Plugin Contributions:
0

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

tophand:

I see your additional images and the hover works. The problem is the pop-up for the large additional images, correct?
All your test main products image large pop-ups work (733x550).
The pop-up is the same code for both the main image and the additional images. So why does one work and the other doesn't?
Could it be that the large image that works is 733x550 and the one that doesn't is 1024x768?

Trouble shooting tips:
Have you cleared all the sub-folders (delete) from the bmz_cache folder? You can do this from IH admin or use your host control panel or FTP.
Instead having an image 1024x768, try a smaller image. This might be more of GD libraries or ImageMagick problem. Be sure to clear bmz_cache sub-folders first.
How are you uploading the images?

M

S T I L L _ N O _ L U C K _ Thanks for working with me on this.

  • YES, The problem is the pop-up for the large additional images, correct?

  • I have this post complete and just figured out that the image permissions are not correct. I am posting this message and will look to see what went wrong with the image permissions. Images are being uploaded with 600 permission, I wonder why?.

  • bmz_cache folder cleared using both methods frequently.

  • Home page and item page reloaded frequently.

  • I resized all 3 images to 733x549

  • I use Zen Cart>Administration - Menu option Tools>Image Handler2 option to upload 3 images to the one ABC item currently online.

  • Image Handler is uploading all 3 images fine I see them after uploading and If I use IH2 to delete them it also works fine.

  • The images that I am using that IH2 uploaded are below: (had to change premissions from 600 to 644 until I figure out why its not automatic)

www.wcironsales.com/store/images/abc.jpg
www.wcironsales.com/store/images/abc_01.jpg
www.wcironsales.com/store/images/abc_02.jpg

Everything seems to work but enlarging the additional photos does not work.

Actual IH2 files I'm using can be accessed at: http://wcironsales.com/ih2

Maybe you you or someone can make available your IH2 version files that replace 1.3.8a files shown below.

admin/includes/modules/category_product_listing.php
includes/modules/pages/popup_image/header_php.php
includes/modules/pages/popup_image_additional/header_php.php
includes/modules/additional_images.php
includes/modules/main_product_image.php
includes/templates/template_default/popup_image_additional/tpl_main_page.php

And others if I did not list them above. My records show that the above are the only ones overwritten by IH2 with Zen Cart 1.3.8a and 1.3.7.1

My in production store has no mods, this is the first and only one and should work pretty easy I thought!

27 Mar 2008, 3:20 AM
#2459
wcironsales avatar

wcironsales

New Zenner

Join Date:
Sep 2005
Location:
Gladstone, Oregon
Posts:
40
Plugin Contributions:
0

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

Before I upload an image the file permission is 644. My image/ folder permission and the bmz_cache/ folders are 755.

IH2 or GD Libraries changes the image permissions to 600 during upload on the webserver. (Vendio web hosting)

The main image even though permission is 600 will display properly including large.

Additional images do not load after IH2 uploades them with 600 permissions. Size is not the factor rather the permission 600 is the factor I beleive, or the mod files.

If I upload using FTP my images arrive on server as 644 which are viewable and IH2 appears to fully work.

All three items on this web site http://wcironsales.com/store have different examples included in the description.

What may be causing IH2 image uploads to 600 permission status?

600 Is user read & write only - not world wide web or group

27 Mar 2008, 3:54 AM
#2460
zafer avatar

zafer

New Zenner

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

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

Hello

Quick question, How do you change premissions as you describe?

Zafer