Smart Image Resize
  • ⚙️Getting Started
    • 🔌1. Installing Smart Image Resize Pro
    • 🔑2. Activating your License Key
    • ✂️3. Resizing Existing Images
  • 🛠️Features
    • Cropping Mode
    • Trim Whitespace
  • ❓FAQs
    • 🛒Pre-sale Questions
    • 💳Billing Questions
    • ❔General Questions
  • Changelog
  • 🔌Other Plugins
  • Troubleshooting
    • 🐞Images Don't Resize
  • Tutorials
    • Enable ImageMagick extension in cPanel
    • How to run WP-CLI in the background
    • How to increase the PHP Memory Limit in cPanel
  • How to enable Fileinfo Extension in cPanel
Powered by GitBook
On this page
  • Regenerate Thumbnails
  • Low Server Resources
  • Purge Cache
  • Uploading Images Through WP REST API [Advanced]
  • Uploading Images Through WC Vendors Plugin
  • None of The Above Works

Was this helpful?

  1. Troubleshooting

Images Don't Resize

This article will help you perform some checks to determine why images don't resize.

PreviousOther PluginsNextEnable ImageMagick extension in cPanel

Last updated 3 years ago

Was this helpful?

Regenerate Thumbnails

If you already uploaded images to media library, make sure you regenerate thumbnails by

Low Server Resources

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_limit to at least 512M. (Recommended 1024M )

Purge Cache

Make sure you:

  • clear your browser cache

  • purge any caching plugin if present

  • purge CloudFlare cache if present

Uploading Images Through WP REST API [Advanced]

Images uploaded trough WP REST API using the route /wp/v2/media are not resized by default. To enable it:

Add this code snippet to your theme functions.php:

add_filter('wp_sir_process_media_library_upload', '__return_true');

or add this boolean parameter in your request _processable_image

Uploading Images Through WC Vendors Plugin

By default, images uploaded trough the frontend are not resized, to enable it, add this code snippet to your theme functions.php:

add_filter('wp_sir_process_frontend_upload', '__return_true');

None of The Above Works

No worries! We're here to help, send us your support request at support@sirplugin.com and we'll make to get it sorted.

🐞
following these steps.