When you have enabled IH small images zoom on hover, the medium or large product image (depending on your setting for IH small images zoom on hover size) pops up on the storefront when hovering over a small product image.
Note:
- If you have enabled this feature, you might have found that the zoom feature can be disruptive to your customers using smaller, hand-held devices. The as-shipped
style_imagehover.css
includes examples using CSS3 Media Queries to control whether or not the image-hover is displayed. The defaults in that file disable the image-hover display on screen-sizes that are 480px or smaller in width.
For this feature to work on these product-listing pages:
- All Products
- New Products
- Featured Products
- Special Products
... these base Zen Cart Configuration->Images settings must match the respective Small Image Width and Small Image Height settings:
- Subcategory Image Width
- Subcategory Image Height
- Image - Product Listing Width
- Image - Product Listing Height
- Image - Product New Listing Width
- Image - Product New Listing Height
- Image - New Products Width
- Image - New Products Height
- Image - Featured Products Width
- Image - Featured Products Height
- Image - Product All Listing Width
- Image - Product All Listing Height
Notes:
- If you want to add the hover effect to category images, you must set Category Icon Image Width - Product Info Pages and Category Icon Image Height - Product Info Pages to match Small Image Width and Small Image Height, respectively.
- If you selected
Medium
as your on-hover image, you control the size of that image via the Product Info - Image Width and Product Info - Image Height settings.- This value cannot be larger than your largest image (IH5 does not enlarge images) or smaller than your small images, i.e. its dimensions must fall between the small- and large-image settings.
- If you selected
Large
as your on-hover image, you control the size of that image via the IH large images maximum width/height settings.- If the largest image you upload is smaller than these dimensions, IH5 will not enlarge your image. If the largest image you upload is larger than these dimensions, IH5 will re-size your image based on these settings, maintaining the image's aspect ratio.