Added check on upload for image size/image file