Added the ability to attach photos to posts, and a main photo