Added show photo directory function to photo page