Expand my Community achievements bar.

SOLVED

Failed to add Image on Content fragment.

Avatar

Level 3

Hi All,

 

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

Anilkumar9_0-1697613404335.png

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

Anilkumar9_1-1697613510481.png

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

Anilkumar9_2-1697613617594.png

 

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
3 Replies

Avatar

Community Advisor

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

Avatar

Correct answer by
Community Advisor

Avatar

Administrator

@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