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!

1 Answer 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 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.

  • 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
    Commented Mar 21, 2020 at 19:22
  • 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. Commented Mar 22, 2020 at 0:54
  • 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
    Commented Mar 23, 2020 at 11:17
  • I have some more questions regarding using ImageOptimize… shall I ask them here or in your github?
    – Matthias
    Commented Mar 24, 2020 at 21:18
  • Either is fine with me Commented Mar 25, 2020 at 11:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.