-1

We discover that our Single Product images as set in Woocommerce> Setting > Products > Display are set to big. Single Product Image: 500 ×750px xHard Crop

I have tested plugin regenerate thumbnails but that does not work on the product images. Also test plugins Resize-image-after-upload. But that plugin does it for all images if bigger then a certain size. So not to use either. Try to get a plugin or functions.php code to re-size all existing product images to the right dimension. Without luck.

Question: Do you know a plugin or php code for functions.php that does resize all full product images?

Would be very helpful.

-1

I use this one for rebuild thumbnails: https://wordpress.org/plugins/ajax-thumbnail-rebuild/

  • Hi this is not a solution. I have ask for products not for thumbnail images. See "plugin regenerate thumbnails does not work on the product images". – Hermants Feb 25 '16 at 19:30
  • Strange, I've always used it to rebuild product images, since they use the same structure. – Bruno Cantuaria Feb 26 '16 at 0:26
  • You're right. I forget to delete the cache. Via ftp is see all images are changed. Thanks for your help. – Hermants Feb 26 '16 at 8:35
  • Glad it worked :) – Bruno Cantuaria Feb 26 '16 at 13:29
  • downvoted as link only answers to external resources are not actual answers – Mark Kaplun May 9 '18 at 5:46
-1

Theme authors can now declare image sizes via the add_theme_support function. Declaring image sizes this way will take priority over any other settings and also hide the image settings section in the admin area.

add_theme_support( 'woocommerce', array(
    'thumbnail_image_width' => 150,
    'single_image_width' => 322,
) );
  • that do not help with existing images – Mark Kaplun May 9 '18 at 5:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.