> For the complete documentation index, see [llms.txt](https://docs.sirplugin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sirplugin.com/faqs/general-questions.md).

# General Questions

### I need to change the default WooCommerce sizes, is it possible?

Yes, you can use the **“Image Sizes”** option to change the default dimensions. To do this, go to the plugin settings under **WooCommerce → Smart Image Resize → Settings → Advanced Settings**.

<figure><img src="/files/nRtay15GOY14kHge0gRy" alt=""><figcaption></figcaption></figure>

### Can I use the plugin to resize my 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*:

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

return $post_types;

});
```

That's it!

### Can I use the plugin to resize non-product Images? and How?

Yes you can! To resize images attached to any other post types, add the post type to `$post_types`  array in the code snippet below:

```php
add_filter('wp_sir_resize_post_type', function($post_types){
$post_types = (array) $post_types;
$post_types[] = 'my-custom-post-type';

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*:

```php
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.*

```php
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.&#x20;

### Is the plugin compatible with WP CLI?

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

### Can I remove the plugin after resizing my existing images?

Deleting the plugin is not recommended unless the resizing was performed with **“Resize Original Image”** enabled, as WooCommerce or other plugins may revert the changes.

### How can I update the plugin to the latest version?

You can update the plugin via the **Plugins** page in your WordPress dashboard. When a new version is available, an notice will appear when viewing the **Plugins** page.

![](/files/noJlbyrZKqRMFdmiXAaT)

### 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>
