OK, seems to work for images but everything else is broken.
How do I get this to work with files in a multi portal environment where I need the path to be portalroot/docs, portalroot/media, portalroot/flash?
Right now if I do <security name="FilesGalleryPath">/docs</security> or <security name="FilesGalleryPath">~/docs</security> I get the error.
"Cannot find a part of the path"
Works fine for images!