Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 1uTv9qVk2cdatyBMZgCfGO
Power Apps - Building Power Apps
Answered

Image control - Crop or Resize functionality

Like (0) ShareShare
ReportReport
Posted on 23 Mar 2021 09:53:30 by 98

Hello Folks,

 

Using the Power Apps Image control, is there any possibility to resize or crop the image in the app itself?

 

Prior posting to this forum, I did some research however could not find any relevant information - what could be the alternatives?

 

Thanks and regards. 

Categories:
  • v-albai-msft Profile Picture
    on 25 Mar 2021 at 02:32:48
    Re: Image control - Crop or Resize functionality

    Hi @fmourtaza ,

    To resize a picture, we need to edit its height and width. This can be done using the slider.

    However, Currently there is not such an function to crop the picture in PowerApps. I have found an idea in Power Apps Ideas, you can vote for it.

    https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Ability-to-Crop-an-Image-Manually/idi-p/269622 

    Best regards,

    Allen

  • fmourtaza Profile Picture
    98 on 24 Mar 2021 at 11:11:40
    Re: Image control - Crop or Resize functionality

    @v-albai-msft This is really cool, however the aim is not achieved as the user wants either to crop or resize their picture. Using the slider, its a zoom in - zoom out functionality.

  • Verified answer
    v-albai-msft Profile Picture
    on 24 Mar 2021 at 02:14:09
    Re: Image control - Crop or Resize functionality

    Hi @fmourtaza ,

    We can use a slider to resize the image control. You can see the detailed steps below.

    1. Add a slider control under the image. Then set Slider:

    Default(): 100,   

    Min: 0,

    Max: 200,

    2. In your Image set the Height and Width as a function of the Slider:

    For example:

    Height(): 2* Slider1.Value

    Width(): 2* Slider1.Value

     

    Run the app and test if the Slider changes the image size accordingly.

    aaa.gif

    Best regards,

    Allen

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,668 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard
Loading started