Notifications
Announcements
Hello,
I have an Add Picture control in my app to let users upload images from camera or phone gallery. When the user uploads a picture, the image is flipped from horizontal to vertical (meaning the orientation changes). How can I make it to stick to the original orientation?
Thanks,
Jorge
One correction, I meant from it flips it from vertical to horizontal. The original picture is vertical but when uploaded, the control shows it horizontally. However when I upload the image to my dropbox (from the app), it uploads on the correct orientation. It seems to be a problem with the properties of the image control in the app. Please help
Hi jluna,
To test this issue, I create an app to upload image using the Add picture control then show the images in a gallery.https://powerapps.microsoft.com/en-us/tutorials/control-add-picture/
On desktop studio, as long as the uploaded pictures are vertical, they will also be vertical when I show them in a gallery.
While on phone app, when I upload pictures from my phone album, it seems that all the images will be changed from vertical to horizontal, though they are vertical in the album.
Are you getting the issue when running your app on phone? I am looking forward to your reply.
Best regards, Mabel Mao
I am going to take a guess that it depends on the camera app and OS and Browser combination, and its to do with the EXIF orientation flag. http://keyj.emphy.de/exif-orientation-rant/
Actually, I got the same results with you.
Pictures downloaded from Internet seems to be working fine on Phone, Windows and Web. While the pictures taken by phone camera will not work well on phone app and Web studio, they will be changed from vertical to horizontal.
@AndyPennell Thanks for sharing with us the blog. Do we have any workaround to rotate the orientation of images on app? Or are we able to keep the images to its original orientation?
I cannot claim any expertise in this area. However my best guess is the camera is using the EXIF rotation property in a way that is incompatible with the way PA renders bitmaps.
The OP has not specificed the device type, but maybe the anonymous camera app in question has an option to do rotation "fully" instead of using EXIF tags?
I am not aware of any feature to rotate bitmaps in PowerApps. The blog mentions some PC tools that can remove the EXIF and do the rotation "fully", though it is an old post.
Hi everyone,
Thanks for your responses. I have one update (very lame workaround). It works if I first take the picture in my phone, edit it (with the phone app) and then go to my Powerapps app and upload it.
This kind of prooves the EXIF issue. Still hoping to find a solution within Powerapp
I have confirmed that PowerApps has a problem displaying bitmaps that use the EXIF rotation tag. Studio shows them correctly, but webplayer and Android do not. I have alerted the relevant folks. Thank you for the report.
Thanks Andy,
Just to add, it doesn't work on IOS either, I have been testing it on my iphone.
Chers,
Four months later and this is still an issue. Any update on when this might get fixed?
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 717 Most Valuable Professional
Michael E. Gernaey 329 Super User 2025 Season 2
Power Platform 1919 268