• Resolved Cris!

    (@cjolliff)


    Some of my attribute/variation image files are wide (for “both sides”). When displayed, the sides of the image are cropped by the container. When I use the Customizer to change the default image size, the images remain the same size. I have cleared cache, and am serving an un-cached file to myself. Everything else is working. I have tried disabling theme (OceanWP) and the other plugins to isolate the problem with no luck. This issue appears on Chrome, FF, MS, etc. The source code for the attribute image shows clearly that the image file sizes are placed inline by the WooCommerce script, but nothing I do is changing the sizes.

    <img width="750" height="685" src="https://hearsource.com/wp-content/uploads/2019/10/Pair-Tech-Black-Evoke-312-D-750x685.png" class="wp-post-image" alt="" title="Pair - Tech Black - Evoke 312 D" data-caption="" data-src="https://hearsource.com/wp-content/uploads/2019/10/Pair-Tech-Black-Evoke-312-D.png" data-large_image="https://hearsource.com/wp-content/uploads/2019/10/Pair-Tech-Black-Evoke-312-D.png" data-large_image_width="949" data-large_image_height="685" sizes="(max-width: 750px) 100vw, 750px" data-o_src="https://hearsource.com/wp-content/uploads/2019/10/Silver-Grey-Evoke-312-D-Single-750x750.png" data-o_height="750" data-o_width="750" data-o_srcset="https://hearsource.com/wp-content/uploads/2019/10/Silver-Grey-Evoke-312-D-Single-750x750.png 750w, https://hearsource.com/wp-content/uploads/2019/10/Silver-Grey-Evoke-312-D-Single-100x100.png 100w" data-o_sizes="(max-width: 750px) 100vw, 750px" data-o_title="Widex RIC" data-o_data-caption="" data-o_alt="Widex RIC" data-o_data-src="https://hearsource.com/wp-content/uploads/2019/10/Silver-Grey-Evoke-312-D-Single.png" data-o_data-large_image="https://hearsource.com/wp-content/uploads/2019/10/Silver-Grey-Evoke-312-D-Single.png" data-o_data-large_image_width="800" data-o_data-large_image_height="758">

    My current Customizer settings are:
    Main Image: 450
    Thumbnail: 200
    Cropping: uncropped

    Am I still doing something wrong, or have I found a bug?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Cris!

    (@cjolliff)

    Well, I guess I must have had a caching problem, because the site now properly adjusts the image sizes and doesn’t crop my pics any more.

    Seriously? I am having the same problem.. You didnt have to do anything to fix it?

    Thread Starter Cris!

    (@cjolliff)

    Clear cache on browser, clear cache of any plugins used to speed site loading. That’s what did it for me.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Product Variation Image Size Problem’ is closed to new replies.