Testing for oversized images