# Plugin and servoy media library

**URL:** <https://forum.servoy.com/t/plugin-and-servoy-media-library/3312>\
**Category:** Classic Servoy\
**Created:** [December 21, 2004, 1:59pm UTC](https://forum.servoy.com/t/plugin-and-servoy-media-library/3312 "2004-12-21T13:59:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pulokesh](https://avatars.discourse-cdn.com/v4/letter/p/e79b87/32.png) [@pulokesh](https://forum.servoy.com/u/pulokesh)\
**Post date:** [December 21, 2004, 1:59pm UTC](https://forum.servoy.com/t/plugin-and-servoy-media-library/3312/1 "2004-12-21T13:59:20Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Jan\_Blok](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@Jan\_Blok](https://forum.servoy.com/u/Jan_Blok)\
**Post date:** [December 23, 2004, 8:47am UTC](https://forum.servoy.com/t/plugin-and-servoy-media-library/3312/2 "2004-12-23T08:47:17Z")

</div>

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
