undid change of not sending size of image packet