Added image attachment to post resource