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 Pages / Generate Thumbnail for...
Power Pages
Suggested Answer

Generate Thumbnail for large files

(0) ShareShare
ReportReport
Posted on by
Hi Team,

I have developed a custom coding power page, where i have used Dropzone using JS libraries. Where i am uploading multiple files which are .jpeg/.png/.avi/.psd/.psb/.tiff at a time and able to submit to sharepoint library using Chunk model.

I am generating thumbnails using Graph api at runtime once the files are uploaded to sharepoint successfully.  The issue i am facing is, i can't generate the thumbnails which are greater than 250MB. Why because Graph cant generate thumbnails >250MB files.

Can anyone suggest me a way to generate thumbnails for large files(1GB/3GB .psd/.psb)?

I know using power automate we can generate thumbnails by using connector computer vision api connector, action Generate Thumbnail.
But, due to DLP restrictions i can't use it in PowerAutomate. I will try to check to check with admin team on that and verify.

Thanks in Advance.
UploadDropzone.png
Categories:
I have the same question (0)
  • Suggested answer
    Jon Unzueta Profile Picture
    1,834 Super User 2026 Season 1 on at
     

    You're correct that Microsoft Graph API has a 250MB limit for generating thumbnails, which poses a challenge for large files like high-resolution PSD/PSB formats. Since Power Automate is restricted due to DLP policies, here are some alternative approaches you can consider:

    Alternative Solutions for Generating Thumbnails for Large Files

    1. Use a Local or Server-Side Image Processing Tool

    You can set up a backend service (e.g., using Node.js, Python, or .NET) that:

    • Downloads the large file from SharePoint.
    • Uses a library like:
      • ImageMagick or GraphicsMagick (for PSD/PSB support)
      • Python PIL/Pillow (for basic image formats)
      • PSD.js (for parsing PSD files in Node.js)
    • Generates a thumbnail (e.g., 300x300px JPEG).
    • Uploads the thumbnail back to SharePoint or stores it in a separate location.

    This avoids the Graph API limitation entirely.

    2. Use Desktop Batch Tools like ImBatch

    ImBatch is a free Windows tool that can batch process large image files, including resizing and thumbnail generation. You could:

    • Download the files locally.
    • Use ImBatch to generate thumbnails.
    • Re-upload the thumbnails to SharePoint.

    This is more manual but useful for one-off or periodic processing.

    3. Use Azure Functions or Azure VM

    If you're open to cloud solutions outside Power Automate:

    • Deploy an Azure Function or Azure VM with ImageMagick or another image processing tool.
    • Trigger it via an HTTP request or SharePoint webhook when a file is uploaded.
    • Process the file and store the thumbnail.

    This gives you full control and avoids DLP issues tied to Power Automate.

     

    🏷️ Tag me if you have any further questions or if the issue persists.

    ✅ Click "Accept as Solution" if my post helped resolve your issue—it helps others facing similar problems. ❤️ Give it a Like if you found the approach useful in any way.

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 Pages

#1
DP_Prabh Profile Picture

DP_Prabh 51

#2
rezarizvii Profile Picture

rezarizvii 35

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 35 Most Valuable Professional

Last 30 days Overall leaderboard