Media files on application server

Hello

I imported some images(xx.jpeg) into media of my solution.
i build a form which shows these images in a field type image media (dataprovider bild):

var vbild = “media:///IV” +dianr+“.jpeg”;
bild = plugins.http.getMediaData(vbild);

Everything works as expected (Smart+Webclient)
I exported the solution and imported it into our application server.
I start the solution on our applicationserver with webclient.

No images ???
The server log shows:
2011-07-28 15:32 http-8080-12 ERROR com.servoy.j2db.util.Debug Throwable
I/O exception, see log for full details: unknown protocol: media

Until now all images from all solutions (for label and buttons) where exported and imported correctly.
What do i miss ???

Best regards
Albert

which servoy version is this?
i think that should work in the current versions.

Hello

Servoy version 5.2.9 -build 1020

Regards
Albert

ah just did see that this is a improvement that is in 6.0
In 5.x it is not supported to load media:// urls like that through the http plugin.

Hello

And how to display images from media in 5.9 ??

No way ???

Regards
Albert

get the bytes through the solutionModel:

solutionModel.getMedia(“name”).bytes;