why i am getting while adding image component in creating new template? | Community
Skip to main content
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 Kiran_Vedantam

Hi @hetbv 

 

As per my understanding, you are getting an image component by default when you create a new component, correct? If yes, please check the template type that you are using to create a new template.

 

If it is related to the page, check the template's initial content.

 

Hope this helps.

 

Thanks,

Kiran Vedantam.

4 replies

Siva_Sogalapalli
Community Advisor
Community Advisor
January 10, 2023

@hetbv are you talking about the broken image on the page? can you double check whether the image is available in AEM dam or not? 

If the issue is something else, please share more details about the issue. 

hetbvAuthor
January 11, 2023

I am making a new template for the sample site and adding an image component to it. why I am getting this broken image instead of like this?

Kiran_Vedantam
Community Advisor
Kiran_VedantamCommunity AdvisorAccepted solution
Community Advisor
January 10, 2023

Hi @hetbv 

 

As per my understanding, you are getting an image component by default when you create a new component, correct? If yes, please check the template type that you are using to create a new template.

 

If it is related to the page, check the template's initial content.

 

Hope this helps.

 

Thanks,

Kiran Vedantam.

Shashi_Mulugu
Community Advisor
Community Advisor
January 10, 2023

@hetbv as per screenshot, it looks like you trying to create a new editable template from existing template type and by default you getting those two components, this might be due to those two components part of your template-type structure node. Please cross check.

Jagadeesh_Prakash
Community Advisor
Community Advisor
January 10, 2023

@hetbv can you be more specific. I am expecting that you are getting image component by default. Check below possibilites

1. Are you using custom template or any OOTB template generated by Archtype?

2. If its custom template, once check the template structure if their are any default image component added

3. What project archtype are you using?