All pastes #479382 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-05-09 18:30 UTC
rendered paste body
function check_img_size(img)
{
//alert("IW: "+img.width);
if (img.width>=600)
	{
	img.width=600;
	}
if (img.height>=400)
	{
	img.height=400;
	}
}