Add photo attachment to post model