adds image to post