made thumbnail support optional within PhotoFile