User images must be hosted on a distribution point with an enabled web server. The URL for that distribution point must be specified in Jamf Pro when you enable user images.
When setting up the distribution point URL, Jamf recommends that you use a variable in the URL and name the image files so that they function with the variable you choose.
For
example, if the distribution point URL is https://www.mycompany.com/$USERNAME.png, the
username in Jamf Pro for each user is inserted into the
URL in place of the $USERNAME variable. If you name each image file using
the username created in Jamf Pro for each user, the correct image
is displayed for each user.
You can use the following variables in the distribution point URL for user images:
$USERNAME$FULLNAME$REALNAME$EMAIL$PHONE$POSITION$EXTENSIONATTRIBUTE_<#>
After you have specified a distribution point URL for user images, you can choose to specify a custom URL for a single user's image from the inventory information for that user. The custom URL overrides the specified distribution point URL. For more information about specifying a custom URL, see User Inventory and Criteria Reference.