How to get conversion format? #2492
Unanswered
chesterlaykin
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.
-
Hi,
In one of my methods I'm moving images from one location to another, and I have hardcoded the extension for conversions which by default is ".jpg".
But I have changed the format to webp (in registerMediaConversions, using format() method).
Is there a way to get the current file extension for conversions? So that it could used dynamic.ally
For instance if I could do : $myModel->getConversionsFormat()
Or if there is some way to retrieve this format?
Beta Was this translation helpful? Give feedback.
All reactions