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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to View BOTH Image...
Power Apps
Unanswered

How to View BOTH Images Files and PDF Files in the Same Gallery

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I believe I've attempted to explain this in a way that is just too confusing; let me try this way.

 

1. I have several Galleries and Forms being used to add 'New' or update 'Existing' items in several list, and add 'New' items and update 'Existing' data (DteofCQ) in DateofCQ columns in several image/document libraries.

 

2. I am using the below, along with a handful of Flows, to accomplish this task. I am approaching the naming of the files this way because try to enforce a manual naming protocol dependent upon each user is impractical.

 

3. I have inherited thousands of pdf files that the Users want to be able to recall to the a Gallery to view. I have rename all these existing pdf files to match the naming convention in the condition below.

 

3csman_0-1613661959672.png

 

4. The below returns all 'New' image files to the display Gallery, as desired by the User. 

 

5. I am using the below in the an Image control of a Gallery to display the images uploaded through the condition above. For all new 'image' files the above and below work fine together. The issue comes when the User uploads a new items and the attached files is a pdf version of their required document instead of an image version (I currently have no control over local file versioning by the user, hence the condition above). 

 

3csman_0-1613663976161.png

 

If possible, what is the best way to upload and recall images files (the above takes care of this part) AND view new and existing pdf documents in the Gallery?

Categories:
I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard