Browsing media other than images

Topics: Administration, General
Sep 29, 2011 at 8:32 AM

Hi,

I'm new to Orchard but I've worked with quite a few other CMS's before (DNN, Umbraco, Composite C1 and more).

I might be missing a vital point somewhere, but I'm frankly amazed that, while editing a page, it's simply not possible to upload a PDF 'on the fly' and create a link to it.

I can add a PDF to the media library and use the link feature to create a link, but that requires me (or even worse, the end-user) to manually type in the entire path. That's not going to work out.

Apart from that, I can click the "Add media" button in the editor, which will let me browse the library. But it doesn't make a distinction between PDF files and images, and as such the PDF is inserted into an <img> tag.

This raises the following questions:

  • Is there a reason to leave out a (quite basic) feature which is included in virtually all other CMS's?
  • If it only allows images, why is the button labeled "Add media". Shouldn't this be "Add image"?
  • I've searched the module gallery without finding anything relevant to this issue. Am I overlooking something?

Eventually I'll probably have to extend the ImagePicker (it seems like the easiest solution), or create a new module for it.

 

Thanks in advance,

Kasper Hansen

Coordinator
Sep 29, 2011 at 5:46 PM

1. Reason to leave out feature (x) which is included in virtually all other CMS:

Feature (x) may be in other CMSs (which have been around for a lot longer and are perfectly fine to use), but it hasn't ranked high in the list of requested features, so we prioritized others before it. Orchard being very modular, feature (x) can be easily built as a module and then shared on the gallery (which leads us to question 3).

2. Should "Add media" be "Add image"

Yes, it should, as we implemented only images so far. We put "media" in there because our intention from the start has been to handle more than images and to let community-built modules extend the system to handle more. So it's a little wider than it needs to be out of the box but it does enable a wider usage.

3. I found this by searching for "document": http://orchardproject.net/gallery/List/Modules/Orchard.Module.I9AOrchard.DocGallery and http://orchardproject.net/gallery/List/Modules/Orchard.Module.MediaGarden.Documents

Sep 29, 2011 at 6:16 PM

Thanks for your answers.

I will look into the modules you are linking to.

/Kasper