My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Before I start I want to thank everyone involved in creating this wonderful addition to ZenCart. So Tim, ckosloff, Diva and anyone else big THANKS.
I have yet to get IH2 to work properly but after reading hundreds of posts. From joyjoy to present I think I know why it is not working for me. Please pardon my lack of experience in ZC but I hope I am as clear as possible. I'll probably answer my own question as I write this but I hope it helps others in my same situation.
::INFO::
ZC 1.3.9h
IH2 Rv8d
Admin>Images>widths are all constant at 125
Default Image size: 125x94
Default location: images>products
Large Image size: 350x263
Large location: images>large>products
Product Info Width: 250
Issue: Zoom feature.
Site: www.blackstarhobbies.com
::CONFIG SETTINGS::
Title Value
Small Image Width 125
Small Image Height
Heading Image Width - Admin 57
Heading Image Height - Admin 40
Subcategory Image Width 125
Subcategory Image Height
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 Pages 57
Category Icon Image Height - Product Pages 40
Top Subcategory Image Width 125
Top Subcategory Image Height
Product - Image Width 250
Product - Image Height
Product - Image Medium Suffix _MED
Product - Image Large Suffix _LRG
Product - Number of Additional Images per Row 3
Image - Product Listing Width 125
Image - Product Listing Height
Image - Product New Listing Width 125
Image - Product New Listing Height
Image - New Products Width 125
Image - New Products Height
Image - Featured Products Width 125
Image - Featured Products Height
Image - Product All Listing Width 125
Image - Product All Listing Height
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 no
IH medium image compression quality 85
IH large image filetype no_change
IH large image background 255:255:255
IH watermark large images no
IH large image compression quality 85
IH large image maximum width 450
IH large image maximum height
IH watermark gravity Center
:: DESCRIPTION::
When hovering over list images the zoom = 125x94 instead of 250. When entering the product info page the image is also 125x94. I think that it has always been like this and I just noticed now because of trying to add this module. Perhaps this is the case because I do not have a images>medium>products>xxxxx_MED.jpg file for it. (Still learning ZC so this may have been my poor understanding of the image preparation how to (https://www.zen-cart.com/tutorials/i...hp?article=224).
I tested in Admin>Tools>IH2 adding a default image of 125x94 and had the same effect except that the large image was also labeled at 125x94. When I tested a much larger image as default the 3 sizes and zoom worked; however, it looks like IH2 uses the default image location "images". Aside from the fancy hover effect, I like how IH2 will do the heavy lifting for me. No need to resize images on my own anymore.
So this is where I need your advice.
1) I want to keep my images organized. I was thinking of changing my image storage to sub folders within images named after the product manufacturer. Is this still possible when using IH2? If so, can you point me in the right direction to do so?
2) Do I need to reload all my images using IH2? Or can I load large images into the default folder and update the image location from every product.
3) When IH2 manipulates/resizes the images do they get put into the bmz_cache? If so is there any reason why I would want to clear cache eventually? I am guessing that the DB update was to store the image identifiers now.
4) (Not IH2 related) I haven't cleaned up the images ZC comes with after install thinking I may need them some day when discovering some ZC feature I didn't think I needed when I started. Do you all remove these images and folders?
@BSHRC
Something is misconfigured, because as you mention Image Handler is using the default Images from the images folder, not its own cached version from the bmz_cache.
What are the permissions set on the /bmz_cache folder
and are there any errors appearing in your /cache folder
Image handler will use the base image as its base to work from and will not resize images that are smaller than its settings, try putting in a large image as your base image, as from what i can see in most cases your base image appears to be 125
As for image organisation, organise your image folder however you want and image handler will work fine, but you image organisation will not be copied accross to the bmz_cache it uses its own system
Clearing the bmz_cache - reasons you may want to do this, I personally do this everytime i make changes to the image size settings, and once in a while to clear out the cached images of deleted products, (one site I deal with has 3-4000 products)
Last edited by nigelt74; 5 Dec 2010 at 03:40 AM.
Nigelt74,
Thanks for the reply.
Permissions to bmz_cache are 755. I have tried both 755 and 777 permissions.
In Admin>Tools>IH2 when I strip a product of all images and enter an image of 125x94 all sizes are at 125x94. Furthermore, the image appears in my images folder as opposed to the images>products folder. From your response you mentioned something is misconfigured and I don't know where one would configure a default folder location or an option in IH2 to where to place the image.
Good point no the reasons to clear the cache.
Any help is appreciated.
Image handle doesn't enlarge images,
basically lets say you want your
listing page image to be 125px w
Hover image and product image to be 250px w
and your larger image to be 500px w
you would just upload a 500px w image as the only image for your product and image handler would automatically create the various sizes in the bmz_cache
What i think is happening is that you are putting up a 125px w image as your base image and then wondering why you are not getting a 250px wide hover image
Image handler has nothing to do with where the image is stored in the images directory,
you should be able to select any subfolder of images on the admin --> catagory/products --> and select and edit your specific product
the images directory is the default one i think, you need to actually select images/product when adding the image
There is a hack to set it as default
This caught my attention..I as a mater of practice train my clients to use a "products" sub-folder for uploading their product images.. Would be nice if this was the default location (much like category images) Can you PM me the hack.. (Don't want to start an off-topic discussion..)
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Nigelt,
I figured I was backwards with the sizing and I did have a hunch regarding the default image siz; however, when adding an image to my product directly from IH2 it does go to images rather than images>products. Does this mean that when I add additional images to my product they will go to images as well?
Could you share with us how to change the default folder?
Bookmarks