<p>Author of the ImageOptimize plugin... when you say no luck with that either, what is going wrong? Once you install ImageOptimize, and add an Optimized Images field type to your asset volumes, it will create all of those responsive image transform for you.</p>

<p>Check out the <a href="https://nystudio107.com/docs/image-optimize/Using.html#using-the-optimized-images-field" rel="nofollow noreferrer">Using the Optimized Images Field</a> section of the documentation.</p>

<p>It can't just create all of your image transforms for you, because unlike EE, you can create transforms via your frontend Twig templates as well, and there's no real way it can know what is being created there, or all of the possible permutations.</p>

CC BY-SA 4.0
2020-03-21T19:22:02.113Z
I come from many years of development with ee. One thing I don't like about EE is the dependence on plugins, because the endless cycle of updates annoys: If there is an update you want to use, the plugin is not (yet) compatible and if there is an update for the plugin, it causes problems with the CMS every second time. Therefore I want to do as much as possible without using plugins in Craft, even if there are excellent and many plugins. I bought ImageOptimize because I thought it would work with the native transformations, but you have to use the ImageOptimize fields, right?
Matthias
CC BY-SA 4.0
2020-03-22T00:54:38.373Z
Nope, ImageOptimize works 100% with native fields. It was specifically written such that you could uninstall it without having any ill effects on your content. The OptimizedImages field you add to an asset volume just tells it what transforms should be made. You still use regular old Asset fields.
andrew.welch
CC BY-SA 4.0
2020-03-23T11:17:34.353Z
ok, I see I understood the plugin's description completely wrong. I'm going through the documentation and see if I can use it the way we need it. thanks for your help!
Matthias
CC BY-SA 4.0
2020-03-24T21:18:09.693Z
I have some more questions regarding using ImageOptimize… shall I ask them here or in your github?
Matthias
CC BY-SA 4.0
2020-03-25T11:19:43.947Z
Either is fine with me
andrew.welch
CC BY-SA 4.0
2020-04-06T11:54:38.750Z
sorry for the break… corona brought some chaos in our business as well. how can I use ImageOptimize ONLY to generate all the already configured native transformations? and will ImageOptimize use image optimizing for that?
Matthias
CC BY-SA 4.0
2020-04-07T12:45:10.797Z
That's not possible to do, because nothing can predict what transforms you're actually using. ImageOptimize can only know about and pre-generate the transforms that you. make using its Optimized Images field type.
andrew.welch
CC BY-SA 4.0
2020-03-21T15:32:17.783Z
2020-03-21T15:32:17.783Z
andrew.welch
<p>Regarding a similar question I only found the advice to delete a table in the database but because I don't like fiddling with the db very much I like to ask: Are there ways to force craft to generate all transformations for all assets/images?</p>

<p>There is such a function in ExpressionEngine in the CP and I try to replicate this behaviour. I also installed the ImageOptimize plugin for that reason but no luck with that also.</p>

<p>thank you very much!</p>

<craft3><assets><image-transforms>
Forcing creation of all transformations for all assets
# Forcing creation of all transformations for all assets

(Asked by: username_0 on 2020-03-20)

Regarding a similar question I only found the advice to delete a table in the database but because I don't like fiddling with the db very much I like to ask: Are there ways to force craft to generate all transformations for all assets/images?

There is such a function in ExpressionEngine in the CP and I try to replicate this behaviour. I also installed the ImageOptimize plugin for that reason but no luck with that also.

thank you very much!

**Tags:** craft3, assets, image-transforms

---

## 1 answers

### Answer by username_1 on 2020-03-21. Score: 1

Author of the ImageOptimize plugin... when you say no luck with that either, what is going wrong? Once you install ImageOptimize, and add an Optimized Images field type to your asset volumes, it will create all of those responsive image transform for you.

Check out the [Using the Optimized Images Field](https://nystudio107.com/docs/image-optimize/Using.html#using-the-optimized-images-field) section of the documentation.

It can't just create all of your image transforms for you, because unlike EE, you can create transforms via your frontend Twig templates as well, and there's no real way it can know what is being created there, or all of the possible permutations.

> **Comments:**
> **username_0**: I come from many years of development with ee. One thing I don't like about EE is the dependence on plugins, because the endless cycle of updates annoys: If there is an update you want to use, the plugin is not (yet) compatible and if there is an update for the plugin, it causes problems with the CMS every second time. Therefore I want to do as much as possible without using plugins in Craft, even if there are excellent and many plugins. I bought ImageOptimize because I thought it would work with the native transformations, but you have to use the ImageOptimize fields, right?  
> **username_1**: Nope, ImageOptimize works 100% with native fields. It was specifically written such that you could uninstall it without having any ill effects on your content. The OptimizedImages field you add to an asset volume just tells it what transforms should be made. You still use regular old Asset fields.  
> **username_0**: ok, I see I understood the plugin's description completely wrong. I'm going through the documentation and see if I can use it the way we need it. thanks for your help!  
> **username_0**: I have some more questions regarding using ImageOptimize… shall I ask them here or in your github?  
> **username_1**: Either is fine with me  
> **username_0**: sorry for the break… corona brought some chaos in our business as well. how can I use ImageOptimize ONLY to generate all the already configured native transformations? and will ImageOptimize use image optimizing for that?  
> **username_1**: That's not possible to do, because nothing can predict what transforms you're actually using. ImageOptimize can only know about and pre-generate the transforms that you. make using its Optimized Images field type.  

---

