add a property to allow photo thumbnail generation to be disabled, fixes GH-59