uchicago-library / library_website

The University of Chicago Library Website
5 stars 5 forks source link

Staff Listing Streamfield Does Not Display Images #721

Closed bbusenius closed 5 months ago

bbusenius commented 5 months ago

Expected behavior

The Staff Listing Streamfield block should display a thumbnail image for a staff member when "Show photos" is checked and the staff member has a profile picture set.

Actual behavior

Currently staff photos are not shown when "Show photos" is checked and a profile picture is set.

Steps to reproduce

Look at this page on the public site where a Staff Listing Streamfield is used. Here, "Show photos" is selected and most of the user pages associated with the listing have profile pictures.

In dev, you can upload a profile picture for one of the Loop StaffPages. Then add a staff listing Streamfield to a test page where you associate the StaffPage that has the profile picture. You will see the picture does not display.