Images Don't Resize
This article will help you perform some checks to determine why images don't resize.
Resizing and trimming are resource-intensive tasks especially when processed images are large, make sure:
- In the plugin settings (under WooCommerce menu → Smart Image Resize), select only sizes prefixed by woocommerce_ in the Sizes option.
- You increase server
memory_limitto at least
Make sure you:
- clear your browser cache
- purge any caching plugin if present
- purge CloudFlare cache if present
Images uploaded trough WP REST API using the route
/wp/v2/mediaare not resized by default. To enable it:
Add this code snippet to your theme functions.php:
or add this boolean parameter in your request
By default, images uploaded trough the frontend are not resized, to enable it, add this code snippet to your theme functions.php: