upnpItem = getUpnpMusicTrackFromSmdTrackEntity((ResultItem<TrackEntity>)browsedItem, objectID, filters);
} else if (browsedItem.getType().equals("LastFMImage") ) {
ResultItemImage smdImage = browsedItem.getImage();
Photo upnpPhoto = new Photo();
upnpItem = upnpPhoto;
// Mandatory elements:
upnpPhoto.setTitle("unknown");
upnpPhoto.setAlbum("unknown");
upnpPhoto.setWriteStatus(WriteStatus.NOT_WRITABLE);
upnpPhoto.setCreator("LastFM");
upnpPhoto.setId(objectID+"/"+browsedItem.getId());
upnpPhoto.setClazz(new org.teleal.cling.support.model.DIDLObject.Class("object.item.imageItem.photo"));
Res url = new Res();
upnpPhoto.addResource(url);
url.setValue(smdImage.getUrl());
if(url.getValue().endsWith(".png")) {
url.setProtocolInfo(new ProtocolInfo("http-get:*:image/png:DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS="));
} else if(url.getValue().endsWith(".jpg")) {
url.setProtocolInfo(new ProtocolInfo("http-get:*:image/jpeg:DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS="));