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 / Viewing Image in Gallery
Power Apps
Unanswered

Viewing Image in Gallery

(0) ShareShare
ReportReport
Posted on by

I have been given hundreds of external that the User will need to be able to recall. 

 

I've got the recall part complete. The images appear as they were saved/scanned, which could have been in any position, when viewed in Power Apps.

 

Is there a way to force all Images, when they appear in Power Apps, to appear 'right-side-up' regardless of how they were originally saved/scanned?

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @Anonymous 

    What would define right side up?  To an image, it is always right side up.  To a viewer, the image may be not so.

    You can make use of the ImageRotate property of the image to rotate it.

    However, you will need to then store that rotation value in your datasource so that the next time you retrieve that image, you can get the rotation value as well.  

    But...the image would need to be manually viewed and rotated by someone at first.

     

    I hope this is helpful for you.

  • Community Power Platform Member Profile Picture
    on at

    Right-Side-Up = Rotation so that it appears as it would normally appear when read; whether that be 'landscape' or 'portrait'.

     

    If the image, as viewed in the image library, was saved at a 45 degree angle, can Power Apps, after retrieving it  for view, automatically rotate it so that it appears in the Canvass in the proper viewing configuration?

  • RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @Anonymous 

    Yes, but what I am saying is that the orientation of the image is based on the human viewer.  If I take a picture with the camera upside down, the image will be the correct orientation for the camera, but the image will be upside down for the viewer.  So, how would the technology know?  And actually there are some technologies that can automatically analyze the image and determine the correct orientation - but that is not PowerApps.

     

    As for your rotation, no, there is nothing that can be done in PowerApps to correct an image at 45 degrees.  You can adjust for 90, 180, and 270.

     

    What we do with this is as I mentioned (but it always take a human to first correct it).  We typically do this when storing an image attachment from an Email message.  The user views the images in the App and if they are rotated wrong, they click on the correct rotation.  We then store that rotation information in the record with the image.  So, if we recall it again, we can apply the chosen rotation.

     

    Now, if all of your images are rotated 90 degrees, then you can apply a universal rotation for all of them.  But I sense you have some that are and some that aren't.

     

  • Community Power Platform Member Profile Picture
    on at

    Yep; reads like your understanding the issue.

     

    Unfortunately, there is no 'pass through', like the email you describe.

     

    The User is in full control. From their desktop to the App to the Library.

     

    Guess we'll just have to trust them, or get us to looking at some pick with a hinged neck.🤣

  • Verified answer
    RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @Anonymous 

    Unfortunately, I believe that would be the only thing available at this time.  I know there are services that will do image rotation based on content, but they are not part of PowerApps (not sure about Azure services), but perhaps if needed some of those could be integrated prior to the image being introduced to the app.  Kind of a grey area.

  • Community Power Platform Member Profile Picture
    on at

    Very helpful.

     

    Thank you!

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