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 / Powerapps download ima...
Power Apps
Answered

Powerapps download image from gallery

(0) ShareShare
ReportReport
Posted on by 18
Hi team,

I have image in sharepoint, how can I call in powerapps gallery with attachment icon and click on it download image.
Categories:
  • Verified answer
    panand99 Profile Picture
    641 on at
  • v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @RockyRocks ,

    Do you want to download attached images in gallery?

    Try this formula: (set the gallery's image's OnSelect)

    Download(First(ThisItem.Attachments).AbsoluteUri)

    Then, it will loads attached image when you click on the image in the gallery.

     

     

    Best regards,

    Community Support Team _ Phoebe Liu

     

  • RockyRocks Profile Picture
    18 on at

    Thanks a lot @

     

    The inner gallery is not fetching data above 1000th rown from sharepoint am getting blank displayed, But the Upper gallery its fetching correctly, what can be done?

  • mariu6 Profile Picture
    8 on at

    My solution includes an Image media and Timer input. SPDocuments is the folder in SharePoint, colAll is the output collection. It can include more columns, depending on the needs.

    App:
    OnStart = Clear(colDocumentsNumbered);
    ForAll (SPDocuments,
    Collect(colDocumentsNumbered,
    Last(FirstN(AddColumns(Documents, "RowNumber", CountRows(colDocumentsNumbered)+1),
    CountRows(colDocumentsNumbered)+1)))); 
    Clear(colAll);
    Set(currentImg,1);

     

    Image: 
    Image = LookUp(colDocumentsNumbered,Value(RowNumber)=currentImg).Thumbnail.Large

     

    Timer: 
    OnTimerEnd = Set(currentImg, currentImg+1);
    OnTimerStart = Collect(colAll, {Image:Image1.Image, Name: LookUp(colDocumentsNumbered,Value(RowNumber)=currentImg).Name,  Link: LookUp(colDocumentsNumbered,Value(RowNumber)=currentImg).'Link to item'}); // more properties can be included

     

    OnSelect = Set(currentImg,1);  // To restart the download

    Duration = 1    // In ms, the lowest possible time for fast loading 

    Repeat = true

  • JB006 Profile Picture
    9 on at

    Nice solution, thanks!

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard