How to include all image assets for a page in Package Manager | Community
Skip to main content
Level 2
January 10, 2024
Solved

How to include all image assets for a page in Package Manager

  • January 10, 2024
  • 3 replies
  • 1056 views

I need to copy a page from production to my local. How can I include all the image assets when building a package in Package Manager?

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 narendragandhi

Hi @kayest 

 

If you have ACS Commons installed in your environment you can use the Asset Packager for this purpose - https://adobe-consulting-services.github.io/acs-aem-commons/features/packagers/asset-packager/index.html

 

 

3 replies

narendragandhi
Community Advisor
narendragandhiCommunity AdvisorAccepted solution
Community Advisor
January 10, 2024

Hi @kayest 

 

If you have ACS Commons installed in your environment you can use the Asset Packager for this purpose - https://adobe-consulting-services.github.io/acs-aem-commons/features/packagers/asset-packager/index.html

 

 

Kamal_Kishor
Community Advisor
Community Advisor
January 10, 2024

Hi @kayest : I do not think there is a way to include image assets automatically while building a content package in package manager.
You will have to provide the content path(s) either parent or individual page paths and similarly for assets as well.

If it is just few pages and there are not too many assets, you can use this workaround maybe.

  1. Open the page in view as published mode.
  2. Inspect the page in your browser, load the page one more time.
  3. Go to Network and then Filter by Img (see attached snapshot for reference)
  4. Individually select each image asset and get the path of image (it would start with /content/dam/...).
  5. Add each image path in your content package.

 

Kamal_Kishor
Community Advisor
Community Advisor
January 10, 2024

@kayest - Please use the solution suggested by @narendragandhi . You can ignore what I have suggested.

EstebanBustamante
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
January 10, 2024

You need to include the images manually into the package, there is no an ootb way to grab all the content from a page into a package.

To find all the images related to a page you can check this thread: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-find-the-list-of-all-images-used-in-content-pages/m-p/415764 

Esteban Bustamante