[bknr-cvs] hans changed trunk/projects/bos/payment-website/static/poi-ms.js

BKNR Commits bknr at bknr.net
Sat Nov 29 00:02:13 UTC 2008


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: {





More information about the Bknr-cvs mailing list