Revision: 4098 Author: hans URL: http://bknr.net/trac/changeset/4098
Add width/height attributes to images.
U trunk/projects/bos/payment-website/static/poi-ms.js
Modified: trunk/projects/bos/payment-website/static/poi-ms.js =================================================================== --- trunk/projects/bos/payment-website/static/poi-ms.js 2008-11-28 23:56:21 UTC (rev 4097) +++ trunk/projects/bos/payment-website/static/poi-ms.js 2008-11-29 00:02:12 UTC (rev 4098) @@ -20,7 +20,9 @@ return IMG({ src: '/image/' + medium.id + '/thumbnail,,40,40', width: 40, height: 40 }) }, makeViewer: function (medium) { - return IMG({ src: '/image/' + medium.id }); + return IMG({ src: '/image/' + medium.id, + width: medium.width, + height: medium.height }); } }, panorama: {