cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
akg1421
Helper III
Helper III

Image column from sharepoint list not showing in Gallery or anywhere else in App

Image column from my Sharepoint list was showing in powerapps "Gallery" and other screens but stopped showing suddenly

akg1421_0-1659598897566.png

akg1421_1-1659599003688.png

These are "Image1", "Image2" ... columns which are of type Thumbnail / Image

In app i am using column "Image1" (internal name "Images") in gallery but its not displaying

 

 

 

If(IsBlank(ThisItem.Images.Small),noimg,ThisItem.Images.Small)

 

 

akg1421_2-1659599265931.png

Image columns are not displaying in other screens too

akg1421_3-1659599379443.png

Whats the issue why they are not showing? Any workaround?

Edit:

In the gallery control I used:

First(SharePointList).Images

 

akg1421_0-1660647568907.png

It does not show the image, which is simply a Thumbnail type of column

akg1421_1-1660647569631.png

 

I have also tried using Filter to get image column

Filter('SPList', ID = ThisItem.ID).Image2

It is giving error "Expected Image value"

 

akg1421_2-1660647568910.png

 


@timl @Drrickryp @phipps0218 @RandyHayes @Pstork1 @metsshan @SBax @AmDev @AhmedSalih @mdevaney @fcostanza @Yahya @BrianS @shoog @eka24 @Ahammad_Riyaz @RandyHayes @Drrickryp @BCBuizer @NandiniBhagya20 @phipps0218 @metsshan @Pstork1 @WiZey @shoog @AmDev @PaulD1 

1 ACCEPTED SOLUTION

Accepted Solutions
akg1421
Helper III
Helper III

Issue resolved itself.

View solution in original post

10 REPLIES 10
SBax
Impactful Individual
Impactful Individual

I'll have a quick look later this afternoon.

 

I'm fairly sure that your formula should be along the lines of

 

If(IsBlank(ThisItem.Image1.Small),noimg,ThisItem.Image1.Small)

timl
Super User
Super User

Hi @akg1421 

On the basis that your formula previously worked and now doesn't work, I'd start by seeing if the app works in a different browser. This would rule out issues that may be caused by caching or authentication.

 

I'd then build a new app to see if the problem exists there. This would help identify whether there's a setting or some corruption in your existing app that causes this behaviour.

 

In your existing app, you could also try to display a single image outside of the gallery on a separate screen. This could help identify whether the quantity of images that you're trying to display is causing this behaviour.

First(SharePointList).Images.Small

@timl Didn't help. In the Gallery control I used as data source:

 

First(SharePointList).Images

 

akg1421_1-1660714493250.png

Not displaying 

akg1421_0-1660630657252.png

Image column is simply a Thumbnail type of column

akg1421_1-1660630759487.png

 

I also tried using Filter to get image column

 

Filter('SPList', ID = ThisItem.ID).Image2

 

 

It is giving error "Expected Image value"

akg1421_2-1660630992778.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

What's your prognosis?

 

@SBax @timl

 

BCBuizer
Super User
Super User

Hi @akg1421 ,

 

Try deleting the Image control and then adding it back, using your original code: 

If(IsBlank(ThisItem.Image1.Small),noimg,ThisItem.Image1.Small)


Did you like my post? Please give it a thumbs up! Did I resolve your issue? Please click Accept as Solution to close the topic and so other members of the community can find solutions more easily.

@BCBuizer I tried deleting Image control from Gallery then adding it back again. It did not work! Please test the Image (Thumbnail) column with considerably large no of rows (>100) and add the data source in PowerApps.. I haven't been able to pin point the bug

Hi @akg1421 ,

 

I tested it and got an error for "noimg", so I replaced it with "SampleImage" and that worked for me:

 

If(IsBlank(ThisItem.Image1.Small),SampleImage,ThisItem.Image1.Small)


Did you like my post? Please give it a thumbs up! Did I resolve your issue? Please click Accept as Solution to close the topic and so other members of the community can find solutions more easily.

@BCBuizer noimg is an image resource in my app. It is strange because I checked where the Image files itself are stored, they are stored in "Site Assets > {List ID} > Img file.jpg"  and there is no associated item ID or anything! 

WiZey
Super User
Super User

Hello @akg1421 ,

 

Could you check your SharePoint list and see if your images are accessible from SharePoint?

 

Are they stored on SharePoint and can you open them? 

@WiZey Yes images are accessible and stored in SP

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,605)