web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Image gallery loading ...
Power Apps
Unanswered

Image gallery loading efficiency creative ideas

(1) ShareShare
ReportReport
Posted on by 163
Hi All,
 
Not being of a programming or formulas background, I am calling upon the group for some inspiration/guidance please.
 
I built an App that functions as an image library. The images are stored in a SharePoint Document Library.
Users will have the ability to filter images based on different criteria.
Currently, the gallery calls upon SP to display all images, then the user can filter what they want to see. This is a terrible slow process as the images reload each time the user returns to the main screen.
 
At this time, there are under 40 images and there is a noticeable, almost painful, slow loading time for the images. And this makes sense to me. There are several megabytes that need to be transfered.
 
I'm looking for creative ideas of how to make the library a nice experience where the user does not need to wait for a collection to build or images to transfer to the application from SharePoint.
What would be a smart why of doing this?
 
Thank you All :-)
 
Categories:
I have the same question (0)
  • Suggested answer
    Ytalo Silva Profile Picture
    181 Super User 2025 Season 2 on at
     
    Hello,
    one way I use in my applications is to create a container that contains a loading GIF or just a label saying "Loading...".
    I place this container above all other elements on the page.
    In the Visible property of this container, I use a variable.
    When I start a collection or any process that takes time, I set:
    Set(varLoading, true)
    And at the end of the process, I set:
    Set(varLoading, false)
    Example:
    Set(varLoading, true);
    ClearCollect(colImage, SPDataBaseImage);
    Set(varLoading, false);
    This way, the loading screen appears only while the data is being processed.
  • ronaldwalcott Profile Picture
    3,847 Super User 2025 Season 2 on at
    Are you loading thumbnails or the full image? 
    40 images shouldn't present problems if the small size is being loaded
  • ErikM9 Profile Picture
    163 on at
    Thanks @Ytalo Silva. I do have a default spinner that appears. This is helpful from the user perspective letting them know that the app is doing something.
     
    @ronaldwalcott, I'm loading Large thumbnails. The resolution of the Small thumbnails is too poor for our use.
     
    I think I'll try to create a collection at startup. When new images are loaded, that is when the collection will be refreshed for the user. Maybe like this I could have a one-time long loading time. The majority of users will not be permitted to upload new images anyway.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard