cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

How can I get more photo's with TemplateGalleryItem3?

I want more photo's in my app but I don't know how to do that. I have TemplateGalleryItem3 in my app.

1 REPLY 1
Highlighted
Power Apps
Power Apps

Re: How can I get more photo's with TemplateGalleryItem3?

Here is a quick way from scratch:

Use Media / Add / Photos to add, say, Photo1 and Photo2.

Add a Button, in its OnSelect handler do

Collect(pictures,Table({x: Photo1}, {x: Photo2}))

Preview the app, click the button, exit Preview, then go to the Collections page and you should see a table of these two images, with a column name of 'x'.

Add a new image-capable Gallery on the page. Set its Items property to pictures (this binds it to the collection above).

Click within the gallery to select Image1, and select its Image property to be ThisItem.x

The gallery should then show your images.

 

Hope this helps.

 

(Sorry I didn't use the template you asked about)

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (1,894)