fix sending images

remains to add the image to the directory