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 / Unable to view: JPG's,...
Power Apps
Answered

Unable to view: JPG's, PNG's, and PDF's in PowerApps Form. Blank page shows up and doesn't load.

(0) ShareShare
ReportReport
Posted on by

 

Hello all!

 

When I attach files (JPG, PNG, PDF) to a form, and try to view the attachments in the submission results, a blank screen pops up and I am unable to view the files. This is what the results section of my form looks like:

jharville_0-1625246159404.png

 

When I click on any of the below 3 attachments, this blank blue rectangle pops up and does not show the attachment viewer:

 

jharville_1-1625246220495.png

 

This is the code for the blue rectangle (within the OnSelect property): 

jharville_0-1625247269538.png

 

I tried setting it to "true" instead of the default "false", but it didn't fix it. Here is the PDF Viewer that isn't showing:

 

jharville_1-1625247358291.png

 

I tried moving "PdfViewer7" to the front, but it still wouldn't show. Would anybody have a solution on how to preview the attachments (JPG, PNG, PDF)? 

 

Thank you!

 

Categories:
  • Verified answer
    WarrenBelz Profile Picture
    156,732 Most Valuable Professional on at

    Hi @jharville ,

    Firstly the PDF viewer can only handle PDF files (not image files - you need an Image control for that), however if the selected item in galAttachments is a PDF file, it should display in the PDF viewer. To test this, add another PDF viewer with the same settings in the Document.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

     

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 354 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 330

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard