split send_image into synclink_init and send_image