Made the photoViewDelegate optional
Merge pull request #3 from nixonnixon/master

Made the photoViewDelegate optional