ARTIFACTORY: How to view the SVG images in the Artifactory Native Browser

AuthorFullName__c
Ujwal Poovaiah
articleNumber
000006023
FirstPublishedDate
2024-02-04T09:11:51Z
lastModifiedDate
2025-07-22

ARTIFACTORY: How to view the SVG images in the Artifactory Native Browser

When the SVG image is deployed to the Artifactory and tried to view using the native browser, the images are downloaded instead of being able to view. The below steps would make it viewable from the native browsing.

1. Created a generic repository with Allow Content Browsing enabled
 User-added image


2. Added the below property to the artifactory.system.properties located in the $ARTIFACTORY_HOME/var/etc/artifactory

artifactory.repo.browsing.content.security.policy="" 


3. Added the mimetype in the mimetypes.xml located under $ARTIFACTORY_HOME/var/etc/artifactory

<mimetype type="image/svg+xml" extensions="svg, svgz" viewable="true" syntax="xml"/>


NOTE: Restart of the Artifactory instance is required for the changes to be effective. If the issue persists kindly clear the browser cache test the use case and let us know the observation.

User-added imageUser-added image