コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

Embed image asset in my custom component using CRXDE Lite

Avatar

Level 4

Dear all,

I am trying to make a custom header component. I drafted the html separately and put it under my project/components/content.

So far is all good except that I couldn't find the logo image in CRXDE. My idea was like upload the image to asset file at instance, then locate it in CRXDE so I can paste the path in my .html file under components/content/header/header.html.

I thought the image asset would have been stored in dam but it's not, could anyone kindly tell me where should I go to get the asset in CRXDE or perhaps I should do it in another way to embed image in my component?

Thank you very much!

1 受け入れられたソリューション

Avatar

正解者
Level 4

Dear folks,

 

I found the way to do so. Put my solution here:

1. Upload the image file to your asset folder at instance

2. Click into the file and copy the URL then remove "assetdetails.html" in the URL

3. Paste this URL as src in the .html file of target component 

 

Notice: the solution is only for those images or icons people don't change frequently, e.g., print icon, arrow icon 

元の投稿で解決策を見る

2 返信

Avatar

正解者
Level 4

Dear folks,

 

I found the way to do so. Put my solution here:

1. Upload the image file to your asset folder at instance

2. Click into the file and copy the URL then remove "assetdetails.html" in the URL

3. Paste this URL as src in the .html file of target component 

 

Notice: the solution is only for those images or icons people don't change frequently, e.g., print icon, arrow icon 

Avatar

Administrator

@YuSheng Thank you for sharing the answer. This would help the AEM community in posterity. 



Kautuk Sahni