Hi,
i'm using kendoImageBrowser as a standalone widget.
I get data from a server handler that returns a Json with file informations (filename,type, size) , while I would like to have a static thumbnail for every Item.
This is the initialization for the widget :
var objSchema = {
model: {
id: 'Id',
fields: {
name: { field: 'FileName' },
type: { field: 'FileType' },
size: { field: 'FileSize' }
}
}
};
$('#divBrowser').kendoImageBrowser({
fileTypes: '*.jpg,*.png',
transport: {
read: 'http://URL/Handler.ashx?PAR=A&PAR=B',
thumbnailUrl: function () { return 'http://URL/images/image.png'; }
},
schema: objSchema,
});
But thumbnails are not showed. Am I missing something?