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

Gallery images not displaying correctly

I have a gallery that contains items from a SP list and I want to display the image of those items. The images are located in another SP list, 'Application Master List', and I've confirmed that they are correct on that list. I currently have this formula under Image:

 

LookUp('Application Master List', Title = ThisItem.Title, AppIcon)

The images are displayed, but a lot of the times the wrong image is associated with the item. If I navigate to other pages then back sometimes they are correct, but for the most part they look scrambled. 

 

Is there anything I can do to make sure that the right image is always displayed?

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Gallery images not displaying correctly

Hi @UnitedLexAdmin ,

Could you please share a screenshot about the issue that you mentioned?

Which type column do you use to store the image in your 'Application Master List'? Hyperlink type column?

Why not store the images along with the main items within same SP list?

 

I have made a test on my side, and don't have the issue that you mentioned. Please check if the Title column in your 'Application Master List' contains unique values (without duplicates).

 

As an alternative solution, please consider save your image files into your SP Library, then add a extra column called ImageName, which related to the Title column in your Main SP List. Then within your app, look up corresponding image files from your SP Library based on the Title column value in your Main List.

Set the Image property of the Image control to following:

LookUp('Your SP Library', ImageName = ThisItem.Title, 'Link to item')

In addition, please also consider turn off the "Improved app rendering (final validation)" option within the Advanced settings of App settings of your app, then re-load your app, check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Community Champion
Community Champion

Re: Gallery images not displaying correctly

Thanks for posting in the community @UnitedLexAdmin - can you review the above reply and update the thread when you have a chance? 

 

Thank you,

 

@TopShelf-MSFT 

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (10,931)