cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Greg68
Helper II
Helper II

If image is not available then display a default image instead

Hi,

 

I have a SharePoint list that has image field for each item, I would like to display a default image in PowerApps gallery if the item image is not available.

How is it possible?

 

Thanks for helping 🙂 

1 ACCEPTED SOLUTION

Accepted Solutions
JimmyWork
Memorable Member
Memorable Member

Have not tested this but something like.

If(
!IsBlank(ThisItem.Column), SampleImage
)

Or you can always set If it has no image set visible to false, add a default image and set it to visible true if no image visible is set to false

View solution in original post

2 REPLIES 2
JimmyWork
Memorable Member
Memorable Member

Have not tested this but something like.

If(
!IsBlank(ThisItem.Column), SampleImage
)

Or you can always set If it has no image set visible to false, add a default image and set it to visible true if no image visible is set to false

Greg68
Helper II
Helper II

It works but after I changed it to:


If(IsBlank(ThisItem.Photo), Placeholder, ThisItem.Photo)


Thanks for helping @JimmyWork !

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,020)