<p>So <a href="https://nystudio107.com/plugins/imageoptimize" rel="nofollow noreferrer">Image Optimize</a> just uses regular old Craft Transforms to do its thing. So whatever would happen to transformed images that you deleted the transform for would happen here as well.</p>

<p>I don't know the answer specifically, but if I had to guess, it'd be that Craft will not "clean up" its image transforms, and delete the ones that are no longer used. But you can do that manually, have it rebuild your Asset Indexes.</p>

CC BY-SA 4.0
2019-03-25T13:28:43.370Z
2019-03-25T13:28:43.370Z
andrew.welch
<p>We want to remove an image ratio from out variant options. Will the files with that image size automatically be removed when we do so? If not how do we ensure they are?</p>

<p>We are looking to remove them to increase the storage amount on our s3 instance.</p>

<plugin-imageoptimize>
ImageOptimze - Will removing image Variant Ratio delete image files?
# ImageOptimze - Will removing image Variant Ratio delete image files?

(Asked by: username_0 on 2019-03-25)

We want to remove an image ratio from out variant options. Will the files with that image size automatically be removed when we do so? If not how do we ensure they are?

We are looking to remove them to increase the storage amount on our s3 instance.

**Tags:** plugin-imageoptimize


---

## 1 answers

### Answer by username_1 on 2019-03-25. Score: 2 | Accepted answer

So [Image Optimize](https://nystudio107.com/plugins/imageoptimize) just uses regular old Craft Transforms to do its thing. So whatever would happen to transformed images that you deleted the transform for would happen here as well.

I don't know the answer specifically, but if I had to guess, it'd be that Craft will not "clean up" its image transforms, and delete the ones that are no longer used. But you can do that manually, have it rebuild your Asset Indexes.


---

