refactored find photo method
Merge pull request #82 from cah13/photo-refactor

refactored find photo method