Expand my Community achievements bar.

How can I add asset image using Content Fragment into CQ Page?

Avatar

Level 4

Hello Everyone,

Can I ask a question ?

I am using AEM 6.4.0.

Can I add asset image using Content Fragment into CQ Page?

If it is possible, How can I add asset image using Content Fragment into CQ Page?

13 Replies

Avatar

Level 10

To learn how to work with Content Fragments, which included images, see this AEM community article. I recommend that you work through this document.

Adobe Experience Manager Help | Working with Adobe Experience Manager 6.4 Content Fragments

Hope this helps....

Avatar

Level 10

"Can I add asset image using Content Fragment into CQ Page?"

We show you how to add assets as part of content fragments:

asset1.png

This provides step by step instructions. Are you having an issue dragging an asset from the side rail?

Avatar

Community Advisor

You can add image using RTE image plugin as well.

Screenshot 2018-12-18 at 12.47.29 AM.png



Arun Patidar

Avatar

Level 4

The picture that you showed me is how to drag and drop image asset into component.

I don't want it.

exactly I want to know how to add image in the following content fragment.

1648584_pastedImage_0.png

Avatar

Level 10

WHen you add an associated asset to a Content Fragment - that image is then displayed when you use that Content Fragment into  an AEM web page. So that is how you add an image to a given content fragment.

Avatar

Level 10

Hi,

it looks like you are using your custom content model to content fragment. so you need to talk to the developer who created this model to provide the option for drag n drop.

thanks,

lokesh

Avatar

Level 4

Can you show me by picture you told me  about how to add an associated asset to a Content Fragment?

Avatar

Level 4

lokesh, You are right.

I am using custom content model to content fragment.If I provide the option for drag and drop, can I add asset image into custom conent model ?

Avatar

Level 10

As of now, No! There is no option in the siderail for you to browse the assets and drop it directly. That could be supported/added in the future version of content fragment. You can also raise a day care ticket so that the engineering team will be aware of the same.

For now, you will have to select the image asset manually if you are using content model, else just create a content fragment with text and then use the image component in the the page to drag and drop an asset.

Avatar

Level 4

I have another question.

Can I  use Content Reference in Data Types in the following pictures to add asset image into content fragment?

1648794_pastedImage_0.png

Avatar

Level 10

Yes you can.. Please check this video to understand how to use the content fragment models and the advantages of it

Adobe Experience Manager Help | Using Content Fragments and Content Services in AEM