Notifications
Announcements
I have a canvas app and a sharepoint custom list. now i am attaching files to the list item attachment using the power apps attachment control inside a power apps form. now i am using those images to generate a PDF report, and the report will not render correctly if the uploaded images has a height or width larger 800 Pixels.. so is there a way to check the uploaded image height and width before uploading them to sharepoint through my attachment control inside my power apps canvas app? and prevent uploading images that have a height or width > 800 pixels ?
Thanks
@johnjohnPter ,
You can check the size of an uploaded file as per this blog of mine - you could set this at whatever size your image needs to exceed.
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.
MVP (Business Applications) Visit my blog Practical Power Apps
For getting image info like height and width, you may try to check whether there is any exist connector or you can try import custom connector Meekou Share Connector .
Demo PowerApps get image info
Set( ImageInfo, Meekou.ImageInfo( { imageBase64: Substitute( JSON( Image1.Image, JSONFormat.IncludeBinaryData ), """", "" ) } ) );
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