Failed to add Image on Content fragment. | Community
Skip to main content
Level 3
October 18, 2023
Solved

Failed to add Image on Content fragment.

  • October 18, 2023
  • 3 replies
  • 721 views

Hi All,

 

I'm trying to add image on the content fragment.

Here I have provided a field to add an image(pathfield).

I see the image path in my content fragment, But it's not rendering on the page. what would be the reason? that image is available on dam

 

 

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

3 replies

aanchal-sikka
Community Advisor
Community Advisor
October 18, 2023

Hello @anilkumar9 

 

The OOTB content fragment treats all fields like forms. Its in sync with the content fragment authoring experience.

 

To display images using <img>, you can extend the CF component and edit its sightly as per your need.

Aanchal Sikka
kautuk_sahni
Community Manager
Community Manager
October 19, 2023

@anilkumar9 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni