I have a list of student in my app. The teacher sets up the list. Each student’s profile has an image. When there is no image for a student profile, a default is provided using If-Else-Column as described here: Add default picture URL to profile page.
However, if I have 5 students all having the same profile picture, the student list looks pretty boring. Is there a way to randomly or sequentially select the default image from a list?
I was trying to do something like:
if(image is empty AND name starts with “A”) then image A
if(image is empty AND name starts with “B”) then image B
However, I could not figure out how to do the AND in the IF condition.
Anybody has a workaround?