This project is read-only.

Media folders and image structure

Topics: Troubleshooting
Nov 29, 2012 at 3:25 PM

Trying to figure out a problem between two modules I now notice a problem with seeing my image files under Admin > Media (I believe it's the Contrib.MediaFolder module that handles that).

Is it the case that even if I set up my files thusly in the physical files:


that I have to manually:

  1. Add each folder/sub-folder in Admin > Media, including the Tenant; and
  2. Add each image in Admin > Media that's already in the physical folders?

Or am I missing something that would allow the Admin > Media area to automatically pick up the file structure and/or images already therein? BTW, I copied the web.config from the Medial folder and placed it in ~/Tenant1 and ~/Images.

And If I go to Admin > Settings > Media and input


in the "Remote Storage" textbox is this the proper thing to do?  That is, does Orchard automatically know it's a tenant and append the tenant name to that setting?

Nov 29, 2012 at 7:05 PM
Edited Nov 29, 2012 at 7:06 PM

I've never experienced anything of the sort on multi-tenant Orchard. The media module is just looking at the file system, so if it's there it will just see it. Unless you are on Azure or using some exotic file provider.

"Remote storage" would indicate that you are.