Prevent conversions to be generated if the result of 2 conversions is exactly the same (or something like that) #2669
Unanswered
Henk123456789
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there! I have a question for which I couldn't find an answer.
Let's say you have defined 3 conversions in your model, like so:
If you now upload an image with a width of 300px, all 3 conversions will be made. But the
medium
andlarge
conversion will be exactly the same. Both will be 300px in width (and also the same height, but that doesn't matter). That of course uses up unnecessary disk space.In this case one might not really want the
large
conversion to be generated. However, when you upload an image with a width of 750px, thelarge
conversion should be generated, since it has added value in that case.Is there already a built-in way of handling those cases, so that no unnecessary conversions will be generated? Of course you could manually check the conversions and delete the 'duplicates' after they already have been generated, but that seems like something that wouldn't be necessary.
I hope the question is clear :).
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions