changed add function of ImageUpload to not count an image if it is too big