This project is read-only.

Display links of uploaded media files

Topics: Administration
Nov 29, 2013 at 11:01 PM
Edited Nov 29, 2013 at 11:16 PM
I am beginner in Orchard CMS. If I upload file from admin, how to show it on front end? How to display links of multiple uploaded file in media folder in orchard CMS?
Nov 29, 2013 at 11:53 PM
Out of the box, there is no way to display all of the uploaded files, unless you attach a MediaPickerField to some content part or type, and select the files you want to show on the front-end for that content item.

If you don't want that, but instead just render all the files, you will have to create a module with either a controller or a widget.
Implement that controller or widget using IMediaLibraryService to query all uploaded files.
Dec 7, 2013 at 3:38 PM
Thankz ...:)