Re: Image Handler 2 Support
Quote:
Originally Posted by
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
RR
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.co...&products_id=3) Your main product image is not a cached image which leads me to believe you have an incomplete IH2 installation.
Quote:
Originally Posted by
giancalr
I'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)
Quote:
Originally Posted by
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..
Re: Image Handler 2 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??
Quote:
Originally Posted by
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
Re: Image Handler 2 Support
Quote:
Originally Posted by
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.
Re: Image Handler 2 Support
Quote:
Originally Posted by
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:
Re: Image Handler 2 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.co...&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
Re: Image Handler 2 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
Quote:
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
Re: Image Handler 2 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/in...roducts_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
Re: Image Handler 2 Support
Re: Image Handler 2 Support
Quote:
Originally Posted by
Renz
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?
Quote:
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
Re: Image Handler 2 Support
Quote:
Originally Posted by
Renz
I 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...