Male sex offenders are photographed by their warden while restrained