I don't know if it's possible to get the dimensions of an image like that. I think there may be another way though. Put all of those images (unformatted) in a div whose .style.display='none' so it...