if(width > 50){
width = 50;
- height = Math.round(height *width / 50);
+ height = Math.round(height * 50 / width);
}
-
+ Roo.log((height));
return '<img src="' + baseURL + '/Images/' + r.data.id + '/' + r.data.filename + '" width="' + width + '" height="' + height + '" />';
},
width : 300,