testing correctly scaled image size