add photo buttons on create and view