.. include:: /Includes.rst.txt .. _feature-1793327650: ============================================= Feature: Import the profile photos of Horilla ============================================= Description =========== Nobody had a photo after the import, although Horilla keeps one per employee. The new stage ``profile-photos`` runs after ``employees`` and sets the file named in ``employee_profile``, read from the copy of the media directory (``MIGRATION_MEDIA_DIR``), as the employee's photo, with the checks of an upload. A file the directory lacks (``profilePhotoMissing``) or the checks refuse (``profilePhotoRefused``) is a warning. Impact ====== Employees show their photo instead of Gravatar or their initials. A second run changes nothing; a photo that changed in Horilla replaces the imported one on the next run and in the delta import. .. index:: CLI, Employees, package:adsum-migration