FAQs

Does the plugin automatically resize images on upload ?

Yes!

Does the plugin resize only product images?

Yes! only product images are resized by default. However, you can also enable category images resizing in the plugin settings:

Can I use the plugin to resize blog Images?

Yes you can! Since only product images are resized by default, you need to add this code snippet to your theme functions.php under Appearance → Theme Editor:

add_filter('wp_sir_resize_post_type', function($post_types){
$post_types = (array) $post_types;
$post_types[] = 'post';
return $post_types;
});

That's it!

Note: You can also resize images attached to any other post types, by just adding the post type to $post_types array in the code snippet above:

add_filter('wp_sir_resize_post_type', function($post_types){
$post_types = (array) $post_types;
$post_types[] = 'post';
$post_types[] = 'book';
return $post_types;
});

Can I resize all images in Media Library?

Yes you can! to do that you need to add this code snippet to your theme functions.php under Appearance → Theme Editor:

add_filter('wp_sir_is_attached_to', '__return_true');

Can I use the plugin with Dokan Multivendor?

Yes you can!

Can I use the plugin with WC Vendors ?

Yes you can! Just add this code snippet to your theme functions.php under Appearance → Theme Editor.

add_filter('wp_sir_process_frontend_upload', '__return_true');

Does the plugin resize images while importing products from a CSV or XML file?

Yes! Just make sure your server memory limit is set to at least 512M since bulk-import can be a resource-intensive task.

Is the plugin compatible with WP CLI?

Yes! You can use the command wp media regenerate to regenerate thumbnails to match your settings.

I don't find answer to my questions.

We're just a click away to answer all your questions. Contact us at support@sirplugin.com