Testing image dimensions.