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 Apps
Unanswered

Rounded Image

(1) ShareShare
ReportReport
Posted on by 103

I am having an issue rounding images in a gallery.  Previously, I've set the height and width of an image to the same value and then set the border radius to Self.Width/2 and this has produced a rounded image.  However, I'm doing that today and the image has rounded corners but isn't a circle:

 

gjayne1984_0-1645709954497.png

When I add a border to the image though it is a circle but it's as if the image isn't filling that circle:

 

gjayne1984_1-1645710012746.png

Has anyone come across this recently, and is there something I need to change to get the actual image to appear as a circle?  The above happens regardless of the image that is used.  I've also tried changing the image position setting (fit, fill etc) but this doesn't help.

 

Thanks in advance for your help.

 

Categories:
I have the same question (0)
  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Nogueira1306_0-1645711018788.png

     

    Self.Height

     

    Or

     

    Self.Width

     

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,

    Gonçalo Nogueira

    Check my LinkedIn!

    Buy me a coffee!

    Check my User Group (pt-PT)!

    Last Post on Community

    My website!

  • gjayn84 Profile Picture
    103 on at

    @Nogueira1306 

     

    Thanks for the swift reply.  It's really strange because I've changed the settings to your example but my image still doesn't fill the circle:

     

    gjayne1984_0-1645712541925.png

     

  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Maybe it is because you are using the sample image but that code should work

    Is that picture a Square? Height = Width?

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,

    Gonçalo Nogueira

    Check my LinkedIn!

    Buy me a coffee!

    Check my User Group (pt-PT)!

    Last Post on Community

    My website!

  • Himanshu_90677 Profile Picture
    416 on at

    I think you need to set border radius to 100

    IMG_20220224_202603.jpg

  • Verified answer
    gjayn84 Profile Picture
    103 on at

    @Nogueira1306 @Himanshu_90677 

    Thanks for your replies.  I've just had another look at this and the issue was that I had padding set on the image, which was causing the gap.  I've set the padding to 0 now and it works as expected.

  • v-LilyW-msft Profile Picture
    on at

    Hi @gjayne1984 

    Glad that you have resolved your problem.

    You could go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

    Best Regards.

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard