Plugin and servoy media library

Hi,
How to communicate with the servoy media library from a plugin.
For example if I want to get a list of files in the media library , is it possible to get it from a plugin?
Also is it pissible to upload a file to the media library from a plugin?

thanks
Pulokesh

  1. In a plugin you can use the same urls for retrieving images as you whould use in HTML displayed by Servoy
    in Java do something like:
    URL u = new URL(“media:///hello.gif”);//now the url object points to the image from the media lib

  2. no, changing(adding an image) the repository is not possible from within a client