width/height for external images

don’t perform getimagesize() on external images as this drops
performance