web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Image (Photo) Resize u...
Power Automate
Answered

Image (Photo) Resize using Workflow is possible?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

l'm looking for a way of resizing an Image/Photo on a Sharepoint Attachement or Picture Library.

 

I Imagine the following:

 

1. Any Size Image is uploaded by user.

2. A FLOW Triggers and resize the image to a pre-set values.

3. Original Image is saved (or Delete) and Resize image is saved.

 

 

Anyone know if this is possible?

Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Do you want to resize an Image within Microsoft Flow?

     

    I afraid that there is no way to resize an image to a pre-set values in Microsoft Flow currently, if you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

    https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

     

    Best regards,

    Kris

  • rvaish Profile Picture
    14 on at

    Try using the Generate Thumbnail action of Cognitive Vision connector.

  • Jay-Encodian Profile Picture
    2,920 on at

    Hey,

    Apologies for picking up an old thread... but this can now be done via the Encodian connector (third party) using the 'Resize an Image' action.

    A free subscription plan is available, paid plans for higher throughput.

    Cheers Jay

  • maheshdadhich Profile Picture
    27 on at

    What is API key in Encodian  connector and what should we pass in it

  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @maheshdadhich ,

     

    Encodian is a third party product and you need license to use this.

     

    For more info https://www.encodian.com/products/document-manager-for-microsoft-flow/

     

    Thanks

  • Jay-Encodian Profile Picture
    2,920 on at

    Hi @maheshdadhich 

    Simply complete this form on the Encodian website and you're allocated an API key instantly - https://www.encodian.com/products/document-manager-for-microsoft-flow/#pdfTrial

    After the 30 day trial, you're automatically moved to the 'Free' subscription plan.

    HTH

    Jay

     

  • Verified answer
    Jer8m3 Profile Picture
    30 on at

    Today, i don't find the solution in internet, then i post here for others in this case.


    Yes it's possible (for free).

    you can use http request to SharePoint

    2023-03-17-121314_scrot.png

    1. store the file in sharepoint

    2. resize with http request

    3. create the resized file in sharepoint

     

    resolution=0: 300px

    resolution=1: 480px

    resolution=2: 750px

    resolution=3: 1024px

    resolution=4: 1600px

    resolution=5: 2560px

    resolution=6: 4928px – Original file size

    if security policy let you access internet, you can use :

    https://xxxx.sharepoint.com/_api/v2.0/sharePoint:/sites/xxxx/Uploaded/yourphoto.jpg:/driveItem/thumbnails/0/c1920x999999/content

    and then you can choose exactly the size you want (replace 1920x999999 by the size you need)

  • WhatsHisName Profile Picture
    42 on at

    Excellent find @Jer8m3 . This works like a charm. 

  • ObiShyamKenobi Profile Picture
    23 on at

    Hey @Jer8m3 , in the task of requesting the HTTP - what did you use after the 'path='?
    I can't seem to get it to work.

     

    Thanks in advance.

  • Jer8m3 Profile Picture
    30 on at

    Hi,

    Just the URL of the image you want to resize 😉

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard