Serving SVG file without any transformation
Hey guys,
I want to serve an SVG image but without any transformation, but it doesn't seem possible.
I found that I can add "f_X" to covert it to a different format, or I can use "fl_santisize" but it returns a low-quality image.
Do you have any solution to it? or I must convert to other format?
Example:
-
Official comment
Hi Noam,
If you use the asset's URL with no transformations applied, we'll return the original file: https://res.cloudinary.com/demo/image/fetch/https://www.svgrepo.com/download/11841/twitter.svg
If you want to show the file 'inline' in a browser tab, you can apply the 'sanitize' flag as the only transformational we'll remove potentially harmful elements from the SVG but otherwise return it without modification: https://res.cloudinary.com/demo/image/fetch/fl_sanitize/https://www.svgrepo.com/download/11841/twitter.svg
Please let me know if that helps and if there's anything else we can help with
Regards,
Stephen
Post is closed for comments.
Comments
1 comment