How to display SVG attachments in Confluence
How to display SVG attachments in Confluence
Confluence Server Access Required
This needs to be done by the Confluence Administrator.
Steps
- Go to your Confluence server and find the directory where Confluence was installed.
- Edit <confluence-install-directory>/
confluence/WEB-INF/classes/mime.types
- Add a line with image/svg+xml svg svgz
- Restart the Confluence application server.
Result
When inserting a reference to an SVG image in the Confluence editor using Image Browser, the SVG image will now be displayed instead of a link to the image attachment.
Another User's Experience
Trevan Householder has contributed a more recent experience on Confluence 5.8.17
However, adding that line to mime.types didn't do the trick for us. (yes, we restarted.)
We did, however, find this trick to make it work:
Upon editing the Confluence Page:
- Type '!' then select the attached SVG
- It renders inline
- Adjust the image size as needed.
, multiple selections available,
Related content
How to display SVG attachments in Confluence
How to display SVG attachments in Confluence
More like this
How to show attachments from a page - Cloud
How to show attachments from a page - Cloud
More like this
How to install SVG conversion support
How to install SVG conversion support
More like this
How to install SVG conversion support
How to install SVG conversion support
More like this
Visio for Confluence
Visio for Confluence
More like this
Images of attachment-types are missing for {report-image:content:icon}
Images of attachment-types are missing for {report-image:content:icon}
More like this