[3.x]: getMimeType() should accept transforms as param and return the transformed asset mime type #12269
-
What happened?DescriptionThe Steps to reproduce
Expected behaviorThe function should return the mime type for the transformed asset (i.e. Actual behaviorThe function does not accept parameters and returns the mime type for the original asset (assuming for this case See https://github.com/craftcms/cms/blob/v3/src/elements/Asset.php#L1387 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
@therealpecus I moved this over to discussions because this is working as expected for Craft 3, but we have put this functionality on the roadmap (aiming for 4.4 at the moment). |
Beta Was this translation helpful? Give feedback.
-
Just ran into this issue, would love to see a patch for 4.* |
Beta Was this translation helpful? Give feedback.
-
This is in for the upcoming Craft 3.8 and 4.4 releases 🎉 (#12397) |
Beta Was this translation helpful? Give feedback.
This is in for the upcoming Craft 3.8 and 4.4 releases 🎉 (#12397)