Added client side image sending (not tested)