How to allow drag-and-drop AEM DAM images | Community
Skip to main content
Community_Admin
Adobe Employee
Adobe Employee
October 16, 2015
Solved

How to allow drag-and-drop AEM DAM images

  • October 16, 2015
  • 1 reply
  • 1585 views

I'm using a copy of the image-fondation-component (/apps/foundation/components/image/cq:editConfig/cq:dropTargets/image) with accepts image/* and groups media.

 

Now I want to configure the image component so that only images from the DAM are allowed (and especially no upload from a Windows Explorer).

 

Also I want to configure the parsys NOT to accept any uploads except into a download-component (/apps/foundation/components/download/cq:editConfig/cq:dropTargets/file accepts .*).

 

I am sure it is possible, thanks for your help.

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 Community_Admin

T. Fischer wrote:

 

Now I want to configure the image component so that only images from the DAM are allowed (and especially no upload from a Windows Explorer).

This part is relatively simple: make a copy of the foundation image component, and add a property for the smartimage widget in the dialog:

     allowUpload="{Boolean}false"

 

Also, see the SmartImage documentation.

1 reply

Community_Admin
Adobe Employee
Community_AdminAdobe EmployeeAuthorAccepted solution
Adobe Employee
October 16, 2015

T. Fischer wrote:

 

Now I want to configure the image component so that only images from the DAM are allowed (and especially no upload from a Windows Explorer).

This part is relatively simple: make a copy of the foundation image component, and add a property for the smartimage widget in the dialog:

     allowUpload="{Boolean}false"

 

Also, see the SmartImage documentation.