Add photo attribute to the post and customize size of the photo.