A method, that sets a label, works for me, too:
- Code: Select all
var image = 'media:///servoy_blobloader?servername=' + currentcontroller.getServerName() + '&tablename=v_laender&dataprovider=flagge_klein&mimetype=image/gif&rowid1=' + uid_v_laender
elements.bild.setImageURL(image);
What doesn't work, is to use this in a calculation where either the image is returned (in a media calculation) or returned nested in HTML.
For the calculation I am using the exact same code as above, but I return "image" in case of the media calculation.