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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sirplugin.com/faqs/general-questions.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
