add image to post using thumbor
added tests