Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Is it possible to display different images on a confirmation screen?

(1) ShareShare
ReportReport
Posted on by

Happy Tuesday!

I'm currently using the Book A Room  template on Power Apps and I was wondering if I could display different floor images on the same page. Or would I have to create a different screen for each floor level to display each floor plan image?

Categories:
  • Ami K Profile Picture
    15,665 Super User 2024 Season 1 on at
    Re: Is it possible to display different images on a confirmation screen?

    @hotdogman - I am not aware of the inner workings of that app but presumably it will record the selected room name (from a Dropdown or Gallery control or in a Variable for example).

     

    You can use the Switch example to display a specific image based on the selected room name. Suppose for example the room name is associated to a Gallery selection, you would use:

     

    Switch(
     Gallery1.Selected.RoomNumebr,
     "RS_KS11100",
     'confirm-bg-copy-2@3x',
     "RS_KSXXXXX",
     '16_berylsea_light',
     "RS_KSZZZZZ",
     '157186112'
    )
  • hotdogman Profile Picture
    on at
    Re: Is it possible to display different images on a confirmation screen?

    So let's say I booked a room on the first floor (RS_KS11100) how can I code the condition to show them the image of the first floor on the confirmation screen?

     

  • Ami K Profile Picture
    15,665 Super User 2024 Season 1 on at
    Re: Is it possible to display different images on a confirmation screen?

    @hotdogman - you can dynamically display different images on the same image control based on the condition that you specify so long as the image exists in the media pane. As a basic example apply the below to the Image property of the Image:

     

    If(
     true,//your condition
     'confirm-bg-copy-2@3x',
     'another image'
    )
    

     

    Another version using Switch:

     

    Switch(
     YourSwitchValue,
     "Result1",
     'confirm-bg-copy-2@3x',
     "Result2",
     '16_berylsea_light',
     "Result3",
     '157186112'
    )

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard