sending image dimensions and size