Size of uploaded image is checked