On Aug 21, 2012, at 9:27 AM, Hamster wrote:

> Thinking about this...
> 
> - I would like to have a "Image" --> "Extermal Image..." (with a browse for
> file dialog)
> - I would like to have a "Link" --> "External File..." (with a browse for
> file dialog)
> - I would like to have a "Video" --> "External Video..." (with browse for
> file dialog)
> - I would like to have a "Video" --> "Attached Video..." (for all other
> XWiki users ;-)

I think this could work as follows:
* The admin registers a mounted network drive in the admin page of XWiki and 
gives it a name (this is a drive mounted on the server machine where XWiki is 
running)
* When in the WYSIWYG editor, when inserting an external image/link/etc, it 
also lists registered network drive names and when you click on it it opens a 
home made browser dialog (we would use File.list() to get the list of files - 
this will work only with a mounted drive - I guess there are some specific 
network protocols to autodiscover resources for ex with \\UNC but that looks 
more complex).

Thanks
-Vincent

_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to