{% set _e = e if e is defined else None %} {# ``iconUrl`` / ``imageUrl`` are populated by the roster projection only when the underlying file resolves to something the media route can serve. If iconUrl is missing but imageUrl is set, fall back to the full image scaled down via ``max-height`` — better a scaled photo than a blank cell. #} {% set _thumb_url = _e.iconUrl or _e.imageUrl %}