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 / Problem with Add image...
Power Apps
Answered

Problem with Add image on gallery

(0) ShareShare
ReportReport
Posted on by 115

Hello! I'm creating safety audit form on vertical gallery. As data I'm using collection I have created from Sharepoint list. There must be possibility to add spesific photo on each row. Adding the picture works just fine but when I click the "remove photo" button I inserted, it deletes photos from every row. Could you help me with this one? The big cancel button acts as a delete photo button. 

 

sami_harjunen_0-1701804805841.pngsami_harjunen_1-1701804833718.pngsami_harjunen_2-1701804847081.png

 

 

 

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    LaurensM Profile Picture
    12,516 Moderator on at

    Hi @sami_harjunen,

     

    Resetting a control within a gallery via a variable will reset all control occurrences within that gallery. If you only want to reset that particular row you could use the Reset() function instead:

    //OnSelect of the remove button
    //Adjust control name to the correct Add Media Button control
    Reset(AddMediaButton1)

     

    If this solves your question, would you be so kind as to accept it as a solution & give it a thumbs up.

    Thanks!

  • wwmn Profile Picture
    103 on at

    What do you have entered for your OnSelect control of your delete photo button?

  • sami_harjunen Profile Picture
    115 on at

    Hello! I just discovered the correct way. It was by using instructions from @LaurensM Thank you!

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 377 Most Valuable Professional

#2
11manish Profile Picture

11manish 165 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 110 Super User 2026 Season 2

Last 30 days Overall leaderboard