append the image tags to the file
image links added to posts, to be cleaned up