Added support for Image attachments to posts.