---
title: "_HowToDisplaySVGAttachmentsInConfluence"
canonical: "https://support.appfire.com/space/SUPPORT/89139893/_HowToDisplaySVGAttachmentsInConfluence"
format: markdown
---
> ✅ **Confluence Server Access Required**
> ✅ 
> ✅ This needs to be done by the Confluence Administrator.

# Steps

1. Go to your Confluence server and find the directory where Confluence was installed.
2. Edit <confluence-install-directory>/`confluence/WEB-INF/classes/mime.types`
3. Add a line with **image/svg+xml  svg svgz**
4. 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:
> ℹ️ 
> ℹ️ 1. Type '!' then select the attached SVG
> ℹ️ 2. It renders inline
> ℹ️ 3. Adjust the image size as needed.