• I’ve been trying out woocommerce using the default 2016 Theme on latest version of WordPress. Now initially I just left the image sizes as the defaults. These are however not suitable so I’ve since changed them now to fit to the images which are of a landscape shape. Initial image size is 900 x 597 when loading into media library however despite trying to set dimensions of the image in woocommerce and regenerating all the thumbnails I still end up with images being scaled to following below on thumbnails and same happens on the image sizes I have set

    265px × 177px (scaled to 185px × 124px)

    I have removed all the images and started from scratch but I’m none the wiser. I ready loads of different post on the subject but none seem to make a difference neither does the use of a different browser

    https://www.ads-software.com/plugins/woocommerce/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    You need to enable ‘hard crop’ to conform to a certain entered size. Otherwise its scaled only.

    After setting hard crop, https://en-gb.www.ads-software.com/plugins/regenerate-thumbnails/ must be ran.

    Thread Starter Adrian

    (@locka)

    Dear Mike

    Thanks for your reply should have mentioned that other than changing the sizes all the rest of the display settings are the same and as stated above I have ran the regenerate thumbnails so the images have changed shape but as mentioned they are not coming up the right size, although they are the right shape.

    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    After regen, what is the original vs scaled size? Check the inspector again – its likely just CSS enlarging them (responsive).

    Thread Starter Adrian

    (@locka)

    well I have now had chance to look at this issues and if I disable all references to

    width:100%
    height:auto

    from woocommerce style sheets
    .woocommerce div.product div.images
    .woocommerce img,
    .woocommerce-page img

    and 1 from style sheet of default wordpress 2016 theme

    img

    Then image I get along side my size choices is now correct but all the text is laid over it and not along side. So far all I have installed is wordpress woocommerce I’m using the standard wordpress 2016 theme regenerate Thumbnails & duplicate Post plugins. I’ve also added some images to test with.

    Thread Starter Adrian

    (@locka)

    I forgot to say this was tested Using google chrome and its development tools

    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    Do you have an example link?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘image size being scaled’ is closed to new replies.