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 Apps / Download 6 image colum...
Power Apps
Answered

Download 6 image column on button click in gallery

(0) ShareShare
ReportReport
Posted on by 603
I have 6 image column in SharePoint which are named Image1, Image2, Image3 and so on. I need to download all these image columns on the download button click inside the Gallery. May i know how to achieve this?
I have the same question (0)
  • Suggested answer
    11manish Profile Picture
    2,882 on at
    Unfortunately, Power Apps Canvas Apps do not provide a native way to download multiple files/images directly to a user's device with a single button click.
     
    The approach depends on where your images are stored and how you want users to receive them.

    For your current setup with six SharePoint Image columns, the best solution is:
     
    Use a Power Automate flow that collects all image columns, creates a ZIP file, stores it temporarily in SharePoint/OneDrive, and returns a download link to Power Apps.
     
    This provides a single-click download experience and is much easier for users than downloading six images individually.
  • Verified answer
    WarrenBelz Profile Picture
    155,660 Most Valuable Professional on at
    The fundamental problem you have is the way that SharePoint Image files are stored. Both the Launch and Download functions require a URL (a Library file has 'Link to item'  and Attachments have AbsoluteUri, both of which are URLs pointing directly at a physical file and the path at which it is stored). An image control simply contains the content of the image stored.
     
    You can however get them emailed to you one at a time - display them in Image Control and have a button/icon under each one with (using the Image control name - Image1 below)
    Office365Outlook.SendEmailV2(
       User().Email,
       "Image File 1",
       "Attached is file",
       {
          Attachments: {
             Name: "FirstImage.jpg",
             ContentBytes: Image1.Image
          }
       }
    );
    Notify(
       "Image has been emailed to you"
       NotificationType.Success,
       4000
    )
    
    There is a longer path using Power Automate, but the result (files mailed back to you) would be the same.
     
    Please ✅ Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like ♥
    Visit my blog
    Practical Power Apps    LinkedIn  
  • Suggested answer
    Vish WR Profile Picture
    3,571 on at

    there's no native multi-file download in canvas apps, and it comes down to how SharePoint image columns store the data.

    If you want a proper single-click "download all six" experience, the Power Automate route is the way:

    Pass the gallery item ID to a flow, then inside the flow use Get item, grab each of the six image columns, and run them through Get file content using path (the image column value holds a server-relative path you can resolve). Add each one to a Create archive / Zip step, drop the zip into a temp SharePoint or OneDrive folder, then return the file link back to the app and open it with Launch().

    The email approach Warren posted is genuinely the quickest if you only need them occasionally — but for a clean download button, the zip-via-flow is what I'd build. One thing to watch: SharePoint image columns store a JSON value, so you'll need to parse out the file reference before fetching the content

     

      Vishnu WR
     
    Please âœ… Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like â™¥
     
  • WarrenBelz Profile Picture
    155,660 Most Valuable Professional on at
    Actually you can do the lot at once (assuming each field has an image in it). The same as before, but put them all in a Table first.
    With(
       {
          _Files: Table(
             {
                Name: "Image1.jpg",
                Value: FirstImage.Image
             },
             {
                Name: "Image2.jpg",
                Value: SecondImage.Image
             },
             {
                Name: "Image3.jpg",
                Value: ThirdImage.Image
             },
             {
                Name: "Image4.jpg",
                Value: FourthImage.Image
             },
             {
                Name: "Image5.jpg",
                Value: FifthImage.Image
             },
             {
                Name: "Image6.jpg",
                Value: SixthImage.Image
             }
          )
       },
       Office365Outlook.SendEmailV2(
          User().Email,
          "Image Files",
          "Attached are the files",
          {
             Attachments: ForAll(
                _Files As F,
                {
                   Name: F.Name,
                   ContentBytes: F.Value
                }
             )
          }
       )
    )
     
    Please ✅ Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like ♥
    Visit my blog
    Practical Power Apps    LinkedIn  

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 392

#2
WarrenBelz Profile Picture

WarrenBelz 364 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 271 Super User 2026 Season 1

Last 30 days Overall leaderboard