upload image, picture size, jpeg quality, rest calls infrastructure