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.

10 replies

Sachin_Arora_
Community Advisor
Community Advisor
Sep 10, 2022 2:17 PM UTC

Please inspect the image and check the src attribute of <img> tag. Also please confirm if its custom component or core component.

Translate
MuddleldLuck
Level 2
Sep 10, 2022 2:23 PM UTC

I am following this tutorial
https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-wknd-tutorial-develop/project-archetype/pages-templates.html?lang=en

Page and Templates
    Update the Header and Footer with Experience Fragments

 

 

On inspect

there is no `img` tag

Translate
BrianKasingli
Adobe Champion and Community Advisor
Adobe Champion and Community Advisor
Sep 10, 2022 5:25 PM UTC

it's quite possible that your JSP or Sightly HTL code is incorrectly embedding the image to the page; check the scripts and try again.
What does the <img src=""> actually produce?

Translate
BrianKasingli
Adobe Champion and Community Advisor
Adobe Champion and Community Advisor
Sep 10, 2022 5:27 PM UTC

 

from looking at your inspect element, you must make changes to your component to output <img HTML element instead of the div.


Translate
MuddleldLuck
Level 2
Sep 10, 2022 7:32 PM UTC

this is my HTL code 

 

This is `view as published`

when I click on this pencil Icon

I am able to see image

 but after that when I click on tick it again broken!!

Translate