adds field for optional photo class
fixes bad index markup
Merge pull request #339 from G5/photo-optional-class

Photo optional class