cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Pam_The_Spam
Level: Power Up

How to take an image saved to the gallery to the next screen?

So I've set up my camera and it takes photos then it's displayed onto the gallery on the same screen. I want it so that when the user navigate it to the next screen, the image that they just taken will be there.
I'm am new to Powerapps so an explanation of how it works and the codes for each item would be great!

If you didn't understand the question, I'll try to explain it better!
Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Microsoft dinusc
Microsoft

Re: How to take an image saved to the gallery to the next screen?

Hello @Pam_The_Spam,

 

The follwing should help you take the last image from the gallery and show it on the next screen.

1. Assuming that you have a Gallery control (Gallery1) that contains taken images (Image1).

2. Add a Button control (Button1) to the same screen.

3. Add a new Screen (Screen2) and add an Image control there (Image2).

4. Set the following formula to Button1.OnSelect property: Navigate(Screen2, ScreenTransition.None, {lastImg: Last(Gallery1.AllItems).Image1})

5. Set the following to Image2.Image: lastImg

6. Run the app from the first screen and click on the Button1.

The application should navigate to Screen2 and the last image from the gallery should be displayed in Image2 control.

View solution in original post

1 REPLY 1
Microsoft dinusc
Microsoft

Re: How to take an image saved to the gallery to the next screen?

Hello @Pam_The_Spam,

 

The follwing should help you take the last image from the gallery and show it on the next screen.

1. Assuming that you have a Gallery control (Gallery1) that contains taken images (Image1).

2. Add a Button control (Button1) to the same screen.

3. Add a new Screen (Screen2) and add an Image control there (Image2).

4. Set the following formula to Button1.OnSelect property: Navigate(Screen2, ScreenTransition.None, {lastImg: Last(Gallery1.AllItems).Image1})

5. Set the following to Image2.Image: lastImg

6. Run the app from the first screen and click on the Button1.

The application should navigate to Screen2 and the last image from the gallery should be displayed in Image2 control.

View solution in original post

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (5,140)