Skip to main content

Notifications

Community site session details

Community site session details

Session Id : skO4xDKUWz0ptmVrYJ5SiZ
Power Apps - Building Power Apps
Unanswered

How to display image from sharepoint list into image control?

Like (0) ShareShare
ReportReport
Posted on 13 Apr 2023 14:48:02 by 127

I have a column photoID with multi-line text type in company list.

I have successfully added pictures using add picture control in power apps.

and the photo is saved as the following format:  appres://blobmanager/53cf026eecc64ecab56bd0f9c3f317d2/66

I have a dropdownlist that holds ID of company list.

now i want to display the photoID of the user when I select Id number from the drop-down.

 I have an Image control called Image1,

then I linked  it with following code.

LookUp(company, ID=Value(dropdownid.SelectedText.Value),photoID)

on select Id from the dropdownlist at the first time it shows the image in image1  control, but after few seconds the moment it will not show any photos.

How do i fetch image from sharepoint list with multiline-text types into image control?

regards

 

 

 

  • mmollet Profile Picture
    3,187 on 13 Apr 2023 at 16:11:09
    Re: How to display image from sharepoint list into image control?

    I have a gallery and use the Attachments built in column in SP as it is easier to work with than making your own image field. ThisItem refers to the current row in that gallery. Im not sure exactly how your app is set up and I have never worked with image fields outside of the built in attachment field as this is the easiest way I have found to handle single images for inventory apps I have made. Might need some bigger guns than I have to sort this one out but I will look around for a solution.

  • Sebey Profile Picture
    127 on 13 Apr 2023 at 16:03:25
    Re: How to display image from sharepoint list into image control?

    Note that Mine is a column that holds only one picture. I bind this:LookUp(company, ID=Value(dropdownid.SelectedText.Value),photoID) to the image control

    but if i bind this First(ThisItem.Attachments).Value to image control, how can i filter  and show different images based on the drop-down selection.

    additional explanation please

  • mmollet Profile Picture
    3,187 on 13 Apr 2023 at 14:53:53
    Re: How to display image from sharepoint list into image control?

    I use the attachments to store an image for an inventory app I created and this is how I display an image. Since the attachments is an array of files, even if I only have 1 image stored there, it will return a table/array. To counter that I use the First function.

    First(ThisItem.Attachments).Value for the Image property of my image control.

    When I got images to show up using this they were all rotated and so I had to change the property ApplyEXIFOrientation to false and this fixed the rotation issue. 

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!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,731 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,079 Most Valuable Professional

Leaderboard
Loading started