dojox.image._LightboxDialog._scaleToFit
dojo.require("dojox.image.Lightbox");
defined in dojox/image/Lightbox.js
resize an image to fit within the bounds of the viewport
Usage
function (/*Object*/ size) (view source)
parameter | type | description |
---|---|---|
size | Object | The 'size' object passed around for this image |