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 @fcostanza @Yahya @BrianS @shoog @eka24 @Ahammad_Riyaz @RandyHayes @Drrickryp @BCBuizer @NandiniBhagya20 @phipps0218 @metsshan @Pstork1 @WiZey @shoog @AmDev @PaulD1
Solved! Go to Solution.
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)
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
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 ,
Try deleting the Image control and then adding it back, using your original code:
If(IsBlank(ThisItem.Image1.Small),noimg,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 ,
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 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!
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?
User | Count |
---|---|
260 | |
127 | |
101 | |
49 | |
47 |