working up sendimage