fix size of picture to upload