implementing send and reply image messages