How to decline image upload when the size of the image is more than the expected?
Hi,
I want to stop the image upload and show an alert message to the author when the image size is more than certain number?
thanks
Srini
Hi,
I want to stop the image upload and show an alert message to the author when the image size is more than certain number?
thanks
Srini
Write a custom Sling Servlet that uploads DAM Assets. In the Sling Servlet - use the Asset Manager API. You have full control and if the asset is larger than you want, you can prevent it from going into the DAM. See this article on how to use Asset Manager API:
https://helpx.adobe.com/experience-manager/using/uploading-files-aem1.html
Hope this helps...
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.