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 / Update a picture outsi...
Power Apps
Unanswered

Update a picture outside a form

(0) ShareShare
ReportReport
Posted on by 19

I was wondering whether it is possible to update items that are outside of a form.

Currently I got a form with multiple datacards. One of these datacards is a custom datacard which contains a gallery. This gallery stores and shows every picture stored inside the standard "attachment" datacards. (source: https://wonderlaura.com/2018/08/23/powerapps-gallery-of-attachments/). Now I want to show a large picture by clicking on the smaller picture in the datacard gallery, which overlaps the entire screen. The problem is that either:

1. I can show the picture in a datacard, but this is too small.

2. The picture will not update, because it is outside of the form.

 

Is there any way I can have my picture overlap the entire screen?

Thank you in advance!

Categories:
  • Gerard Simpson Profile Picture
    2,987 Moderator on at

    Hi @NoTimeLeft 

     

    Try this:

     

    'OnSelect' property of your image control inside your nested Gallery: Set(varPic, ThisItem.Value)

     

    (Run the app and click on an image to populate the variable..)

     

    Add your full size image outside/over the form - Set it's image property to varPic (this should now be showing the image you grabbed in the variable)

     

    Add a Cancel icon and set it's 'OnSelect' property to Set(varPic, Blank())

     

    Now hold ctrl and select both the cancel icon and full size pic - then change their 'Visible' properties to varPic<> Blank()

     

    Optionally, you can change the pic fill colour to a semi transparent shade, so users see that appear before the pic renders in the control.

     

    Hope this is helpful

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 223

Last 30 days Overall leaderboard