cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (8,179)