AEM 6.5 Dependent images are not included in package | Community
Skip to main content
Level 3
May 23, 2023
Solved

AEM 6.5 Dependent images are not included in package

  • May 23, 2023
  • 2 replies
  • 678 views

Hi All,

 

While moving the Content Fragments from the lower environment to the higher environment by creating the package, images used in the content fragment are not included. I'm required to select images separately in the package. Wondering if I'm missing something while creating the package.

 

Thanks.

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 MayurSatav

Hi @mukeshaem ,

 

This is expected behaviour of AEM, When creating a package in AEM, the images used in Content Fragments are not automatically included by default. This is because AEM treats assets (such as images) separately from content.

 

  1. Create a new package or select an existing package.
  2. In the Filters section, click on the "+" button to add a new filter.
  3. In the Filter configuration, select "Dam Asset" as the filter type.
  4. Specify the path or paths where the images used in the Content Fragments are located. You can use the "Browse" button to select the appropriate paths.
  5. Save the filter configuration.
  6. Build and download the package.

2 replies

MayurSatav
Community Advisor and Adobe Champion
MayurSatavCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
May 23, 2023

Hi @mukeshaem ,

 

This is expected behaviour of AEM, When creating a package in AEM, the images used in Content Fragments are not automatically included by default. This is because AEM treats assets (such as images) separately from content.

 

  1. Create a new package or select an existing package.
  2. In the Filters section, click on the "+" button to add a new filter.
  3. In the Filter configuration, select "Dam Asset" as the filter type.
  4. Specify the path or paths where the images used in the Content Fragments are located. You can use the "Browse" button to select the appropriate paths.
  5. Save the filter configuration.
  6. Build and download the package.
aanchal-sikka
Community Advisor
Community Advisor
May 23, 2023

Hello @mukeshaem 

 

Can you possibly try if this utility from ACS commons works?

 

https://adobe-consulting-services.github.io/acs-aem-commons/features/packagers/asset-packager/index.html

 

 

Aanchal Sikka