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 / Gallery – Each picture...
Power Apps
Answered

Gallery – Each picture to a new page - issue

(0) ShareShare
ReportReport
Posted on by 9

I started with Power Apps this week and there is a lot to learn. Some items are very straight forward, other not that much, so I would appreciate your help. This one I have searched but I could not find an answer.


I’d like to add images to a Gallery and each image, on click, leads to a new page.
As an example, I added the World Cup Stadiums pictures and I’d like each of them to lead to their own page.

For the 1st picture, I can add the Navigation command and it works perfectly – it reaches the next screen I want.

However, when I click on the 2nd picture, I cannot reach this command as it selects the whole gallery and not the second picture to edit the link.

I attached a print to make it clear.

 

How can I overcome this problem?

Thanks!

Gallery-issue.png
Categories:
I have the same question (0)
  • SpongYe Profile Picture
    5,909 Super User 2026 Season 2 on at

    Hello @dmanier,

     

    This is described in the Gallery control https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/controls/control-gallery

     

    Each data field appears in a separate control within the Gallery control. And you can configure those controls in its template. The template appears as the first item inside the gallery:

    • On the left edge of a Gallery control in horizontal/landscape orientation.
    • And at the top of a Gallery control in vertical/portrait orientation.

    Any changes that you make in the template are reflected throughout the Gallery control.

     

    If I look at your example my action would be something like OnSelect:

    Launch(<sharepointlistname>.Pic)

     

    ------------------------------------------------------------------------------------------------------------------------------
    If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solution.

    If you like my response, please give it a Thumbs Up.

     

  • v-mingkz-msft Profile Picture
    Microsoft Employee on at

    Hi @dmanier,

    You can't set OnSelect for each item individually.

    You can use Switch and ThisItem function to realize the function of clicking different pictures to jump to different screens.

    vmingkzmsft_0-1693291472153.png

     

    Switch(ThisItem.Title,"1",Navigate(Screen2),"2",Navigate(Screen3))

     

    Best Regards,

    Kyrie

     

  • Verified answer
    A_Madsen Profile Picture
    67 on at

    Hello

    You can use the 'Switch' function, on the 'Onselect"  property of your gallery picture, like this:

    Switch(
     ThisItem.'Venue Name',
     "Al Thumama",
     Navigate(...),
     "Education City",
     Navigate(...) 
    )


    And so on, until all the locations have been listed and given a page to navigate to. I hope this helps.

  • dmanier Profile Picture
    9 on at

    This solution worked perfectly.

    Thanks a lot!

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 379 Most Valuable Professional

#2
11manish Profile Picture

11manish 203 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard