Display user photo within a User field type I'm making a staff page with a User field type, so you select all the users you want displayed. I'm having trouble showing each user's photo though. This works:
{% for user in block.staffList.all() %}
   Image URL: {{ craft.assets.id(user.photoId).one().url }}
{% endfor %}

But seems far from the ideal solution. Is there a more graceful way to do this?
It works very simply. Note that the photo field is an asset object, not an array of asset objects.
{% for user in block.staffList.all() %}
   Image URL: {{ user.photo.getUrl() }}
{% endfor %}