HOW TO: mark records with images from servoy medialib

create an unstored calc called “myUnstoredCalc”
with following code(works on crm demo)

if(companiesid == 3015 || companiesid == 3020)
{
 return "media:///myPicture.gif"
}

place a data provider in your listview with following properties
displayType = IMAGE_MEDIA
dataprovider = myUnstoredCalc

This is a more convenient way of marking records.
(instead of returning html code into a textfield)