🚀 Feature request: Bypass image manipulations if file mime type is svg #4868
Closed
jaredchesebro
started this conversation in
Feature Requests
Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
-
|
released in 7.5.15 |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Problem
When you are using on the fly image manipulations but an svg is selected in the entry file field the template tags print the following error message in place of the file url:
Possible Solution
Since svg is a file type that sits somewhere between a text file and an image I think it would make logical sense for the image manipulations to be bypassed when the file type is an svg and just print the file url of the original. It could still be treated as an image by the cp so users could see the rendered image in the file manager.
Beta Was this translation helpful? Give feedback.
All reactions