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 / Pictures in Gallery fr...
Power Apps
Answered

Pictures in Gallery from attachment

(0) ShareShare
ReportReport
Posted on by 7

Hello to all,

I have developed an application for a construction site follow-up.
I am asked to include photos.
Each part of the construction site must have a series of photos
So I created a ShP list in which I was going to add the photos as 'attachments' via a smartphone app. I add the ID of the list of the construction site in a field, which allows me to link the 2 lists.

The PJs are stored well, the 'father' ID is also included, everything is fine

the problem is the visualisttion of the Lp's in a gallery, sometimes it works, other times not ...

In a gallery, I filter on the father ID and it gives me a record that contains the PJ field

 

TG1.png


In another gallery I ask for the view of the PJs
Items = GPj.Selected.'Attachments
And there sometimes it works, sometimes not!!!

I thought of another solution which would be to store these images in libraries and to display the contents of these in galleries
by linking them to the concerned library, but here I am confronted to make this link dynamically, and that it changes for each item ... and that I don't know how to do ;-(

Another solution would be to create a line by photo in the list T_Pj, but the number of line could become important, and we know the problems of delegation ...

Can someone tell me why my first solution is not reliable, and if the alternative is the best option.

Thanks a lot.

Translated with www.DeepL.com/Translator (free version)

Categories:
  • Verified answer
    WarrenBelz Profile Picture
    156,732 Most Valuable Professional on at

    Hi @Vincent11 ,

    This blog of mine may be of some use to you.

     

    Please click Accept as solution 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 giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • Vincent11 Profile Picture
    7 on at

    Thank you Warren, That's what I did, I started again and it seems to be working.

    I hope it will continue in the futur ...

    Anyway thank you for this Blog, very useful

     

    Vince

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 354 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 330

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard