Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

How to upload png image in crx app/.../image folder?

Avatar

Level 5

Hi,

I need to replace an image in CRX hierarchy under /apps/.../toolbar/images.

How can this be done through /crx/de/index.jsp? Is there a different way to upload the image file to this images folder?

Thanks,

Leena 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Via package manager. You can place those images in your code base and deploy it on aem via package manager or maven build.

View solution in original post

5 Replies

Avatar

Correct answer by
Community Advisor

Via package manager. You can place those images in your code base and deploy it on aem via package manager or maven build.

Avatar

Community Advisor

Hi @aemuser001 ,

To upload a PNG image to the CRX repository in Adobe Experience Manager (AEM) using the CRXDE Lite interface (/crx/de/index.jsp), follow these steps:

  1. Access CRXDE Lite: Log in to your AEM instance and navigate to the CRXDE Lite interface by appending /crx/de/index.jsp to your AEM instance URL in a web browser.

  2. Navigate to the Folder: In the CRXDE Lite interface, navigate to the folder where you want to upload the image. In your case, it would be /apps/.../toolbar/images.

  3. Upload the Image: Once you're in the correct folder, you should see an "Upload" button or option. Click on it to open the file upload dialog.

  4. Select the PNG Image: In the file upload dialog, navigate to the PNG image file on your local machine and select it for upload.

  5. Confirm Upload: After selecting the image, confirm the upload. The image will be uploaded to the specified folder in the CRX repository.

  6. Verify: Once the upload is complete, you should see the PNG image listed in the folder in the CRXDE Lite interface. You can also verify its presence by navigating to the folder in the AEM authoring environment.

Alternatively, you can also upload the image using other methods such as:

  • Package Manager: Create a package containing the image and install it using the Package Manager (/crx/packmgr/index.jsp).
  • Command Line Interface (CLI): Use AEM's command line tools like curl or wget to upload the image programmatically.
  • WebDAV: Mount the JCR repository as a WebDAV share and upload the image using a WebDAV client.

Choose the method that best suits your workflow and requirements.

Refereance:https://experienceleague.adobe.com/en/docs/experience-manager-guides-learn/videos/getting-started/wo...

https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/assets/manage/ad...

 

 

Avatar

Community Advisor

@aemuser001 There is no option like "Upload" in CRXDE Lite unlike what @HrishikeshKa mentioned in option 1.

 

Yes, you can add images to your code base and create a package like @DPrakashRaj mentioned. In this way you can easily move from instance to instance as well.