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
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.
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
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.
WarrenBelz
146,731
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,079
Most Valuable Professional