added avatar attachment (photos) to posts