Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Cannot upload SVG as a Resource?
I would like Fragments to use SVG's instead of images like PNG, JPG.The Resource page won't let me upload SVG files. Is there a solution to this?
I would open a feature request for that. I think, svg should absolutely be supported.
As a workaround: How about just copying the svg into the html part of the fragment? Not as nice as adding it as a resource, just as a workaround.
As a workaround: How about just copying the svg into the html part of the fragment? Not as nice as adding it as a resource, just as a workaround.
Hi ,You may need to add svg type in setting System Settings - > Page Fragments - > Fragments Thumbnails add .svg
You can host them in your theme
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™