svg image not displaying in page from dam | Community
Skip to main content
Level 3
March 24, 2022
Solved

svg image not displaying in page from dam

  • March 24, 2022
  • 2 replies
  • 775 views

Im trying to add svg image from dam to a page. But the image is broken.

What is the fix?

Thanks in advance!

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Ravi_Pampana

Hi,

 

Are you able to load the svg image with direct dam url ? Try it on browser it will download to the instance, if downloading fine, then there might be syntax issue when adding to page, if not the svg is not uploaded into dam.

 

You can also check whether there are any restrictions on svg while uploading to dam (You can check under configMgr)

 

Configuration: Day CQ DAM Asset Upload Restriction

2 replies

DEBAL_DAS
New Member
March 24, 2022

Below you could see I have added svg image using we.retail image component and it's getting displayed perfectly -

Even I have dropped the .svg image in parsys and it's working also. 

Please check the log file what is the error you are getting. I am using AEM 6.5.9

Debal Das, Senior AEM Consultant
Ravi_Pampana
Community Advisor
Ravi_PampanaCommunity AdvisorAccepted solution
Community Advisor
March 24, 2022

Hi,

 

Are you able to load the svg image with direct dam url ? Try it on browser it will download to the instance, if downloading fine, then there might be syntax issue when adding to page, if not the svg is not uploaded into dam.

 

You can also check whether there are any restrictions on svg while uploading to dam (You can check under configMgr)

 

Configuration: Day CQ DAM Asset Upload Restriction