Showing results for 
Search instead for 
Did you mean: 
Resolver I
Resolver I

Auto-Size Image in Gallery


Is there a way to auto-adjust the size of images in a gallery to ensure the full image fits? I am using CDS to store my images. All images are sized at 300 x 300 pixels.


The image "envelope" in the gallery below is 128x128 and as can be seen, the images are being cropped. I don't want powerapps dictating the size of the images I save in CDS. It would be far more robust/desirable to have the image "auto-fit" in the gallery.


Any thoughts?





Thanks Mike. Will also give that a shot.


Turns out adjusting the settings per your recommendation helped, but what was also happening is when I would bring the image into CDS, it was cropping some of the images. For example, I had a logo that was actually 300 x 72 that I brought into my design software and saved it within a 300 x 300 rectangle (initally as PNG and then JPG) and it would crop the image.


What I ended up doing is forcing a white 300x300 background and then exporting into jpg. That fixed the issue. Again, I am new to CDS so perhaps there is a way to force CDS to import the image such that it will not be cropped.


In any case, thanks for the responses as they also helped me.

Helpful resources

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (4,799)