You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However what if I want to add a size conditionally, say based on the image itself. For example, I want to add this fit only when the image uploaded is larger than 2048x2048. It would be great to have fit support a conditional callback OR an entirely new method called fitWhen.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Currently when registering media conversions you would do this:
However what if I want to add a size conditionally, say based on the image itself. For example, I want to add this fit only when the image uploaded is larger than 2048x2048. It would be great to have
fit
support a conditional callback OR an entirely new method calledfitWhen
.Beta Was this translation helpful? Give feedback.
All reactions