Photo optional class

Adds setting for optional class to be added to the photo widget for special css