Perhaps I'm just being an absolute dimwit but I can't seem to find a method of restricting types available to be chosen by the default Media Picker.
Essentially I need to provide my users with a method of choosing a singular image from within a hierarchy of folders. They should not be able to choose a folder.
Apologies if this has come up before but after searching 4 pages of Google results all I could find was people referencing DAMP, which it seems doesn't work with v7.0+
Is there a simple method for achieving this in v7(.1.4)?
I don't think you can restrict the media picker data type by media type. If you don't want to reuse your media items, you could change your property from the media picker data type to the image cropper data type. That will allow editors to upload images directly when editing a page. The only downside is that they are not reusable like media items.
That's disappointing; despite it not being in the project spec I can see the re-usability question being one of the first questions directed at me.
In terms of a solution it does work for this purpose though.
As a sidenote; is it a difficult job to extend/modify the underlying code of the Media Picker?
I'm not sure if I really understand the question, but if you configure the Media Picker to not take multiple items the editor can only select one image. You can set a starting node in the Media and then users can only select images below that. If they click on a folder, it will only open the folder in the Media Picker. You never "select" a folder as an item.
But if you have mixed types like PDF and images in the same folder, Media Picker can't restrict the selection to only images.
Dan is bang on there; having witnessed newbies to Umbraco 7's interface using my back office setup it transpired that clicking the 'select' label to open the folder was their go-to action.
This was obviously followed by some rather confused faces :D
If you do manage to get a pre-value option configured for that picker, I'd love to know about it!
Umbraco 7 - Single Image (not folder) Picker
Hi all; long time reader, first time poster!
Perhaps I'm just being an absolute dimwit but I can't seem to find a method of restricting types available to be chosen by the default Media Picker.
Essentially I need to provide my users with a method of choosing a singular image from within a hierarchy of folders. They should not be able to choose a folder.
Apologies if this has come up before but after searching 4 pages of Google results all I could find was people referencing DAMP, which it seems doesn't work with v7.0+
Is there a simple method for achieving this in v7(.1.4)?
Hi Chris,
I don't think you can restrict the media picker data type by media type. If you don't want to reuse your media items, you could change your property from the media picker data type to the image cropper data type. That will allow editors to upload images directly when editing a page. The only downside is that they are not reusable like media items.
Thanks, Dan.
Hi Dan,
That's disappointing; despite it not being in the project spec I can see the re-usability question being one of the first questions directed at me. In terms of a solution it does work for this purpose though.
As a sidenote; is it a difficult job to extend/modify the underlying code of the Media Picker?
Cheers, Chris.
I'm not sure if I really understand the question, but if you configure the Media Picker to not take multiple items the editor can only select one image. You can set a starting node in the Media and then users can only select images below that. If they click on a folder, it will only open the folder in the Media Picker. You never "select" a folder as an item.
But if you have mixed types like PDF and images in the same folder, Media Picker can't restrict the selection to only images.
Thats true Rolf but when you hover over a folder, a 'select' option appears allowing an editor to select a folder rather than open a folder.
Thanks, Dan
Wow, that's right. I never thought about that. :(
A Media Picker pre value option to specify excluded media types sounds like a perfect PR though. I might have to have a go a that one :)
Dan is bang on there; having witnessed newbies to Umbraco 7's interface using my back office setup it transpired that clicking the 'select' label to open the folder was their go-to action.
This was obviously followed by some rather confused faces :D
If you do manage to get a pre-value option configured for that picker, I'd love to know about it!
I've added a feature request to the issues tracker :)
Dan.
Upvoted, cheers Dan :)
is working on a reply...