Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Is it possible to use a regex validation to validate the media name in the media picker?
Would be nice if we could restrict the file types with regex or any other method.
If you want to restrict the file types that can be uploaded into the media library then you should look at the umbracoSetting.config in the /config folder.
In this file you will find a section about disallowed file types.
This settings consists of a "black list" of file extensions that editors shouldn't be allowed to upload via the back-office.
<!-- These file types will not be allowed to be uploaded via the upload control for media and content -->
Hope this can be a solution for you.
Thanks for the info. I already use DisallowedUploadFiles.
What i want to make is to restrict the media picker by file extensions. For instance i have a media picker for video, to minimize the editor errors i want the media picker just accept the .mp4 files in library, or in upload step.
May be in future versions ;)
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted