changed the show photo page to the index photo page layout