WordPress.org

Support

Support » Plugins and Hacks » WooCommerce Cloud Zoom Image Plugin » [Resolved] Zoom in on a resized image instead of the full size image

[Resolved] Zoom in on a resized image instead of the full size image

Viewing 1 replies (of 1 total)
  • I was able to do this by copying the template plugins/woocommerce/templates/single-product/product-image.php into {mytheme}/woocommerce/single-product and replacing
    $image_link = wp_get_attachment_url( get_post_thumbnail_id()
    with
    $image_link = wp_get_attachment_image_src(get_post_thumbnail_id(), 'large');
    and then using
    $image_link[0] in place of $image_link.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Zoom in on a resized image instead of the full size image’ is closed to new replies.
Skip to toolbar