Image column from my Sharepoint list was showing in powerapps "Gallery" and other screens but stopped showing suddenly
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)
Image columns are not displaying in other screens too
Whats the issue why they are not showing? Any workaround?
Edit:
In the gallery control I used:
First(SharePointList).Images
It does not show the image, which is simply a Thumbnail type of column
I have also tried using Filter to get image column
Filter('SPList', ID = ThisItem.ID).Image2
It is giving error "Expected Image value"
@timl @Drrickryp @phipps0218 @RandyHayes @Pstork1 @metsshan @SBax @AmDev @AhmedSalih @mdevaney @Anonymous @Yahya @BrianS @shoog @eka24 @Ahammad_Riyaz @RandyHayes @Drrickryp @BCBuizer @NandiniBhagya20 @phipps0218 @metsshan @Pstork1 @WiZey @shoog @AmDev @PaulD1
Hi,
Need your help with this, got the same problem too...
May I know how did you resolve this issue?
Can you provide some screenshots of the solution.
Appreciate if you can response as soonest. Thank you very much!
Eric
Issue resolved itself.
@WiZey Yes images are accessible and stored in SP
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?
@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!
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)
@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 ,
Try deleting the Image control and then adding it back, using your original code:
If(IsBlank(ThisItem.Image1.Small),noimg,ThisItem.Image1.Small)
@timl Didn't help. In the Gallery control I used as data source:
First(SharePointList).Images
Not displaying
Image column is simply a Thumbnail type of column
I also tried using Filter to get image column
Filter('SPList', ID = ThisItem.ID).Image2
It is giving error "Expected Image value"
What's your prognosis?
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
WarrenBelz
146,635
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional