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

Results 5,761 to 5,780 of 7,094
16 Sep 2010, 6:44 PM
#5761
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

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

Renz:

Hi I installed IH version 2.0 Rev 8b on zen 1.3.8a, the installation proved successful or at least i think it is.

Though I a puzzled as to why I have different image sizes in my store Subcategory Image width is 120 as is height. PLS see Url http://www.colourshield.com/store

The only thing that fixes them is if I set the following to 0
Image - Use Proportional Images on Products and Categories
However on doing so..the Product Info - Image disappears, has anyone seen this problem and know how to fix it.

Thanks

RRBased on looking at your site my best guess is that your install of IH2 is incomplete. There is a part of the package that allows the main product image to be processed and cached by IH2. (see here for an example: http://zentestcart.overthehillweb.com/index.php?main_page=product_info&cPath=1&products_id=3) Your main product image is not a cached image which leads me to believe you have an incomplete IH2 installation.

giancalr:

I installed on my site www.erboristeriabio.com IH and does not work,
I installed it on the sub directory and it works practically images created in bmz_cache are not read:

http://www.erboristeriabio.com/bmz_cache445be2f8c827da7283c96cc4e96bcfdf8.image.100x56.png

the two to be omitted / / between the folder and sub folder
helpI'm not sure I fully understand your issue, and looking at your site it doesn't appear that you have IH2 installed correctly. Some additional details and a specific example as to what issue you are experiencing would be a big help.. (link to a specific product so the issue you are reporting can be seen would be a huge help)

hara:

People saying Somehow Google had problems with IH2 links, the problem fixed?

Moreover, what happen when installing upgrade Zen cart? I worry need to re-install IH2 again, it causes a lot of work.
What Google issue are you speaking of?? All of my clients run IH2 and to my knowledge there are no issues with Google and their sites..

16 Sep 2010, 6:47 PM
#5762
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

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

Hey nigel, do you think it's a worthwhile exercise to include your hack in the next IH2 release?? Or would it make more sense to include some information and the instructions for your hack in the readme??

nigelt74:

There is a hack you can use, for some bizarre reason its the only thing i can get to work

this is a hack, there is probably a better way to do this, BUT

in this file

includes/classes/bmz_image_handler.class.php

around line 690

add the following directly underneath (cut and paste it), basically it replaces any single quote apostrophe with a single fancy quote

as always use at your own risk, i have tested it on my site and it seems to work fine

It isn't the most elegant, however this is a weird bug, all the apostrophes in the javascript code are being escaped, but only on the additional images bit, and i can't find the cause

and before you say it, i did try changing ' to ' but it didn't work

16 Sep 2010, 11:02 PM
#5763
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

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

DivaVocals:

Hey Nigel, do you think it's a worthwhile exercise to include your hack in the next IH2 release?? Or would it make more sense to include some information and the instructions for your hack in the readme??

Hi Diva, personally i'd include it, it is a hack, but it does solve a problem that at some stage will need to be looked at, I tried to trace the error back to its source but couldn't isolate it, (I have 2 very bored under 5s who have been sick for 6 weeks and dads office is the coolest place in the world)

Somewhere in the call for the additional images bit, the entire javascript call is being escaped, rather than just the product title.

17 Sep 2010, 12:33 AM
#5764
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

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

nigelt74:

Hi Diva, personally i'd include it, it is a hack, but it does solve a problem that at some stage will need to be looked at, I tried to trace the error back to its source but couldn't isolate it, (I have 2 very bored under 5s who have been sick for 6 weeks and dads office is the coolest place in the world)

Somewhere in the call for the additional images bit, the entire javascript call is being escaped, rather than just the product title.Good enough.. I'll include it..

and BTW, daddy's office IS the coolest place to be!!! :laugh:

17 Sep 2010, 12:40 AM
#5765
renz avatar

renz

Zen Follower

Join Date:
Jun 2006
Posts:
439
Plugin Contributions:
0

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

[QUOTE=DivaVocals;935614]Based on looking at your site my best guess is that your install of IH2 is incomplete. There is a part of the package that allows the main product image to be processed and cached by IH2. (see here for an example: http://zentestcart.overthehillweb.com/index.php?main_page=product_info&cPath=1&products_id=3) Your main product image is not a cached image which leads me to believe you have an incomplete IH2 installation.

Hello DivaVocals, thanks for your assistance, I have did a reinstall of the module and followed up by checking each and every file, they are all loaded in their correct location. I did a reinstall of IH from the database..Still the same issue. I assume that it is compatible with PHP Version 5.2.3-1ubuntu6.3 and zen 1.3.8a.

I have IH2 Rev 7 on another cart same server and settings..No problem.

Please see my settings below, though I wouldn't think they have an effect of image size irregularity within the same...

Title Value Action
Small Image Width 120 Info
Small Image Height Info
Heading Image Width - Admin 50 Info
Heading Image Height - Admin Info
Subcategory Image Width 110 Info
Subcategory Image Height Info
Calculate Image Size true Info
Image Required false Info
Image - Shopping Cart Status 1 Info
Image - Shopping Cart Width 80 Info
Image - Shopping Cart Height 50 Info
Category Icon Image Width - Product Info Pages 120 Info
Category Icon Image Height - Product Info Pages Info
Top Subcategory Image Width 120 Info
Top Subcategory Image Height Info
Product Info - Image Width 120 Info
Product Info - Image Height Info
Product Info - Image Medium Suffix _MED Info
Product Info - Image Large Suffix _LRG Info
Product Info - Number of Additional Images per Row 3 Info
Image - Product Listing Width 120 Info
Image - Product Listing Height Info
Image - Product New Listing Width 120 Info
Image - Product New Listing Height Info
Image - New Products Width 120 Info
Image - New Products Height Info
Image - Featured Products Width 120 Info
Image - Featured Products Height Info
Image - Product All Listing Width 120 Info
Image - Product All Listing Height
Product Image - No Image Status 0 Info
Product Image - No Image picture no_picture.gif Info
Image - Use Proportional Images on Products and Categories 1 Info
IH resize images yes Info
IH small image filetype no_change Info
IH small image background 255:255:255 Info
IH watermark small images no Info
IH zoom small images yes Info
IH small image compression quality 85 Info
IH medium image filetype no_change Info
IH medium image background 255:255:255 Info
IH watermark medium images no Info
IH medium image compression quality 85 Info
IH large image filetype no_change Info
IH large image background 255:255:255 Info
IH watermark large images no Info
IH large image compression quality 85 Info
IH large image maximum width 750 Info
IH large image maximum height 550 Info
IH watermark gravity Center Info

The problem again is.......I have different image sizes in my store Subcategory Image width is 120. PLS see Url http://www.colourshield.com/store

The only thing that fixes them is if I set the following to 0
Image - Use Proportional Images on Products and Categories
However on doing so..the Product Info - Image disappears, has anyone seen this problem and know how to fix it.

Many Thanks - In advance
RR

17 Sep 2010, 1:26 AM
#5766
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

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

@renz

are you sure its not because some of your images are smaller than than 120px

eg
http://www.colourshield.com/store/images/Clay_Lube.jpg is only 100x 100

Image Handler doesn't resize images smaller than the settings set in admin

Also if you are using proportional images, which any sane person would

read the note

Use Proportional Images on Products and Categories?

NOTE: Do not use 0 height or width settings for Proportion Images
you need to set a height for your images

17 Sep 2010, 2:05 AM
#5767
renz avatar

renz

Zen Follower

Join Date:
Jun 2006
Posts:
439
Plugin Contributions:
0

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

Hi nigelt74,

Ok I tried something here:

I set all image sizes W & H to 100 a little smaller than what I wanted though...

I noted that I still have irregular image sizes and hover does not resize by much or equally.

As an example this product http://www.colourshield.com/store/index.php?main_page=product_info&cPath=72&products_id=191 which has a smaller image than the others on the store home page has actually an image loaded of 354px × 265px pls see http://www.colourshield.com/store/images/Towels.jpg so truly I am baffled.

Thanks
RR

17 Sep 2010, 2:23 AM
#5768
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

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

deleted

17 Sep 2010, 2:26 AM
#5769
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

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

Renz:

Hi nigelt74,

Ok I tried something here:

I set all image sizes W & H to 100 a little smaller than what I wanted though...

I noted that I still have irregular image sizes and hover does not resize by much or equally.

As an example this product http://www.colourshield.com/store/index.php?main_page=product_info&cPath=72&products_id=191 which has a smaller image than the others on the store home page has actually an image loaded of 354px × 265px pls see http://www.colourshield.com/store/images/Towels.jpg so truly I am baffled.

Thanks
RR

first off
Did you clear the BMZ cache, or it will still show the old cached images for anything that has previously been viewed, you can clear the cache in Admin -> Tools --> Image Handler

you don't need to set all your W & H to 100, but as you can see it's now working, you just need to jig things till they work

Here are the settings from a working shop, it might help?

Small Image Width 120
Small Image Height 120
Heading Image Width - Admin 57
Heading Image Height - Admin 40
Subcategory Image Width 120
Subcategory Image Height 120
Calculate Image Size true
Image Required true
Image - Shopping Cart Status 1
Image - Shopping Cart Width 50
Image - Shopping Cart Height 40
Category Icon Image Width - Product Info Pages 120
Category Icon Image Height - Product Info Pages 120
Top Subcategory Image Width 120
Top Subcategory Image Height 120
Product Info - Image Width 200
Product Info - Image Height 200
Product Info - Image Medium Suffix _MED
Product Info - Image Large Suffix _LRG
Product Info - Number of Additional Images per Row 3
Image - Product Listing Width 120
Image - Product Listing Height 120
Image - Product New Listing Width 120
Image - Product New Listing Height 120
Image - New Products Width 120
Image - New Products Height 120
Image - Featured Products Width 120
Image - Featured Products Height 120
Image - Product All Listing Width 120
Image - Product All Listing Height 120
Product Image - No Image Status 1
Product Image - No Image picture no_picture.gif
Image - Use Proportional Images on Products and Categories 1
IH resize images yes
IH small image filetype no_change
IH small image background 255:255:255
IH watermark small images no
IH zoom small images yes
IH small image compression quality 85
IH medium image filetype no_change
IH medium image background 255:255:255
IH watermark medium images yes
IH zoom medium images no
IH medium image compression quality 85
IH large image filetype no_change
IH large image background 255:255:255
IH watermark large images yes
IH large image compression quality 85
IH large image maximum width 750
IH large image maximum height 550
IH watermark gravity Center

whenever you change your settings its a good idea to clear the cache as mentioned above

17 Sep 2010, 2:31 AM
#5770
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

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

Renz:

Hi nigelt74,

Ok I tried something here:

I set all image sizes W & H to 100 a little smaller than what I wanted though...

I noted that I still have irregular image sizes and hover does not resize by much or equally.

As an example this product http://www.colourshield.com/store/index.php?main_page=product_info&cPath=72&products_id=191 which has a smaller image than the others on the store home page has actually an image loaded of 354px × 265px pls see http://www.colourshield.com/store/images/Towels.jpg so truly I am baffled.

Thanks
RRI think you may be mis-understanding how IH2 works.. IH2 will NOT re-size your images according to your settings..

In the example you provided the small product image is smaller than the others because the large image that IH2 used to create your small image IS smaller than the other product.. IH2 will NOT make this image 100x100 since it creates images which maintain the proper image proportions within the height and width specifications you set in your image settings...

IH2 creates the smaller image based on the size of the large image and it maintains the proper aspect proportions if you have the proper settings to do this.. (which like Nigel says you DO want to do this)

If you want equally sized small, medium and large images, you need to make sure the large images are ALL the same dimensions.

If you want to make sure that all the small and medium images are the same size, you will need to do some work to calculate the correct width and height that your large images should be. You will need to determine which dimensions will yield proportional and equally sized small and medium images...

17 Sep 2010, 4:47 AM
#5771
renz avatar

renz

Zen Follower

Join Date:
Jun 2006
Posts:
439
Plugin Contributions:
0

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

Hi DivaVocals & nigelt74,

I have found a happy a setting that is close enough to make them all appear the same.I thanks you for your time and assistance for my needs.

Kind Regards

Renz

17 Sep 2010, 2:20 PM
#5772
eunaneunan avatar

eunaneunan

New Zenner

Join Date:
Aug 2008
Posts:
9
Plugin Contributions:
0

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

Hi

I have a problem with the layout of additional images eg:

www . l o v e f u r n i t u r e . i e /bedroom/bedroom-collections/aston-bedroom/aston-dressing-table-set

as you can see the "add this to cart" box is pushing the 3 row down messing up the layout, and causing images to over lap etc.

if you have the "Please Choose: " attributes thing on the layout is fine eg:

www. l o v e f u r n i t u r e . i e /bedroom-furniture/leather-beds/prado-leather-bed/prado-3-leather-bed

I updated to the latest version of image handler but it does not fix the problem.

Any suggestions of a fix or are there any alternative "additional images " solutions anyone recommends? (litebox or something?)

Any advice would by great, thanks

17 Sep 2010, 2:38 PM
#5773
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

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

eunaneunan:

I have a problem with the layout of additional images ...

I updated to the latest version of image handler but it does not fix the problem.

Any suggestions of a fix or are there any alternative "additional images " solutions anyone recommends? (litebox or something?)

Any advice would by great, thanksThis isn't an issue caused by IH2.. This is a layout issue, and you should create a new post to get assistance with your layout/page format issue.. (Suggest posting this in the layout topic of the forum)

17 Sep 2010, 4:20 PM
#5774
eunaneunan avatar

eunaneunan

New Zenner

Join Date:
Aug 2008
Posts:
9
Plugin Contributions:
0

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

DivaVocals:

This isn't an issue caused by IH2.. This is a layout issue, and you should create a new post to get assistance with your layout/page format issue.. (Suggest posting this in the layout topic of the forum)

OK, I thought it was a bug with IH2, thanks for the info

17 Sep 2010, 8:53 PM
#5775
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

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

eunaneunan:

OK, I thought it was a bug with IH2, thanks for the info
Not a bug since IH2 is not a layout module, and therefore would not effect page layouts..

17 Sep 2010, 10:03 PM
#5776
eberrios avatar

eberrios

New Zenner

Join Date:
Aug 2010
Posts:
13
Plugin Contributions:
0

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

I am having the worse trouble for my site. I installed the latest version of image handler and now I can't see my shopping cart site anymore. It seems like everything has disappeared. Please help~

17 Sep 2010, 10:30 PM
#5777
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

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

eberrios:

I am having the worse trouble for my site. I installed the latest version of image handler and now I can't see my shopping cart site anymore. It seems like everything has disappeared. Please help~
Not enough information provided to have an understanding of the issue.. Can only suggest restoring your site to the state it was prior to installing IH2.. Nothing in the IH2 install files would stop your store from functioning.

Did you follow the install instructions in the readme?? Are you using the latest version of IH2 with the latest version of Zen Cart?? Also it's helpful to provide a link to the site or page where a specific problem can be seen..

17 Sep 2010, 10:35 PM
#5778
eberrios avatar

eberrios

New Zenner

Join Date:
Aug 2010
Posts:
13
Plugin Contributions:
0

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

Well I guess it probably won't work because I have the second newest version of Zen cart with the latest image handler. Is there a way to uninstall image handler?

17 Sep 2010, 11:04 PM
#5780
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

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

deleted