cleaned up image form type doc