content fragment with assets(images, files) | Community
Skip to main content
Level 2
July 18, 2018
Question

content fragment with assets(images, files)

  • July 18, 2018
  • 11 replies
  • 5222 views

Hi,

I need to use content fragment elements to store images or other files alone. So that the urls to the assets can be used in json for service calls. The images or files can be retrieved later in separate ajax calls.

According to this: Working with Content Fragments. There is no direct image or file content fragment element support in AEM 6.4.

I don't want to use Associated Content where assets to be referenced have to be preloaded.

Assets Inserted into a Fragment (Mixed-Media Fragments) is preferred. I'd like to know if I insert an image/file only into a rich text field, is there a predefined pass to get the url reference?

I'm going to test this out soon. Your advice is appreciated? Any alternatives?

Thanks, Charlie

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

11 replies

edubey
Level 10
July 21, 2018

Technically CF is also of type asset.

Main idea is to create content which can be reused and independent of design.

Since you already have an image in DAM, putting it inside CF and then using it- I don't see how it helps.