この会話は、活動がないためロックされています。新しい投稿を作成してください。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
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...
表示
返信
いいね!の合計
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...
表示
返信
いいね!の合計
Thanks for quick reply!
表示
返信
いいね!の合計
Hi
Also have a look at this old forum thread :- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...
//there is a community article for restricting the upload based on size of the file - http://experience-aem.blogspot.com/2014/12/aem-6-sp1-classic-ui-restrict-large-or-small-files-upload.... You can customize it and add your logic of checking the file types. You can either just check the file extensions in the javascript or invoke a backend servlet to check the file headers for the mime types. Also, this is limited to Classic UI only.
Another Old post:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...
//
Yes, we can configure the Size limit of the assets.
Please find below the way of doing so:-
Reference Links
2. https://docs.adobe.com/docs/en/aem/6-1/author/assets/managing-assets-touch-ui.html
This is the way to configure the limit of assets.
I hope this will solve your problem.
Thanks and Regards
Kautuk Sahni
表示
返信
いいね!の合計