# Trim Whitespace

![](https://1613911975-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M6IZsaWWLIsYTZFLvfP%2Fuploads%2FKpNYtU79OAUkSmOhBH1l%2Fimage%20\(2\).png?alt=media\&token=f63300b5-0749-4444-bf2e-791378aac769)

The Whitespace trimming tool is disabled by default, to enable it, go to the plugin settings under *WooCommerce → Smart Image Resize → General*.

![](https://1613911975-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M6IZsaWWLIsYTZFLvfP%2Fuploads%2F0VuFv1LbaNSZ8BIl9hgd%2Fi00023.jpg?alt=media\&token=25150534-95c8-446d-8ef3-c2f5b2e1b52b)

**Border Size:** Use this option to leave an extra whitespace around image.&#x20;

**Tolerance Level**: Increase this to trim away colors that differ slightly from pure-white.&#x20;

{% hint style="info" %}
Regenerate thumbnails to apply this change to existing images.
{% endhint %}
