Skip to main content

Notifications

Community site session details

Community site session details

Session Id : JLqaFqLQ/ObfV3VYJNXGy2
Power Apps - Building Power Apps
Unanswered

Resize Image Canvas to fit Image

Like (0) ShareShare
ReportReport
Posted on 31 Jan 2023 12:51:57 by 297

I have an image in a gallery and the images that are shown/uploaded are all different sizes.  I am looking for a way to resize the canvas to fit the image.  I don't want to resize the image to canvas.   I have the image position set to fit so it keeps the proportions of the image and for most of the images that means it is going to be wide enough but the image is not very tall so the canvas is bigger then the image.  My gallery is a flexabile height and because the canvas is bigger than the image it looks like there is a space between my image and text in other rows of my gallery. 

 

Is there any way to fix this?  Any help would be great.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 172 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 87

#3
stampcoin Profile Picture

stampcoin 73

Overall leaderboard
Loading started