Media Library Picker in coustom module/field - Feature Request

Topics: Core, Customizing Orchard, General
Jul 26, 2014 at 12:35 AM
I would like to use the Media Library Picker in my own custom Module to select images.

I haven't started although I'm essentially going to copy and paste a lot of the code from "MediaLibraryPicker.Edit.cshtml" to show the Library.

What would be great is if there was a way common function to call this e.g MediaLibraryPickerShow(); this could return the URL of the selected image.

Anyone else thing this would be a good feature? If so i'll create a work item.

Just seem there is a lot of code to copy to do this right now, that would need to be maintained if there are any changes.