svg image not loading from media library

Sa A asked on July 5, 2017 19:40

Hi All,

I am using a media selection page filed where I am uploading svg image from the media libray. the image gets uploaded but its not rendered on the UI.

I have applied all the fixes provided on the forum which includes a)Adding mime type in iis settings, web config b)settings content media -> added svg extension c)system file -> added svg extension d)added ?disposition= inline in the url of the image.

PFB the transformation I am using,

InsuranceCategoryImage is of media selector type where I am uploading svg images from media library. Any help on this would be really appreciated.

Recent Answers


Chetan Sharma answered on July 6, 2017 15:07

What is the error you're getting in the browser console for that Resource type?

Seems like you'll have to define the MIME type in your web.config for the Application server to correctly interpret and send it to Browser.

Please share the error console logs.

Thanks, Chetan

0 votesVote for this answer Mark as a Correct answer

Sa A answered on July 6, 2017 16:40

Hi Chetan,

I have done the mime types changes in web.config as well, but no luck. I am not getting any error in console.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.