cancel
Showing results for 
Search instead for 
Did you mean: 
AllisonCaldwell

PowerApps Pro Tips | Full Screen Image Pop-Outs

There are times when a PowerApps user needs to see a large image at full screen. When that’s the case, you want to make sure the user experience is a good one for them. At Confluent, we use a standard process to create full-screen image pop-outs, which provides the best of both worlds.

 

Here’s how it works:

  1. Open PowerApps.
  2. Open a template app, like the Product Showcase.
  3. Go to the Compare Products screen.
    Confluent-PowerApps-compare-products-screen

     

  4. Insert a new image media type onto the page. We will use this to appear when you click on one of the three Surface items on the page.
  5. Resize it so it is nearly the size of the entire screen.
  6. Add a button to the screen. Move it to the top right of the image, and change the name to X rather than button.
    Confluent-PowerApps-image-add-close-button
  7. On the image, go to the property called image and insert this code: ” MyBigPic “ and then set the visible property to ” If(Len(Text(MyBigPicShow)) = 0,false,MyBigPicShow) “
  8. On the button, add to the on select property: ” UpdateContext({MyBigPicShow:false}) “ and set the visible property to ” If(Len(Text(MyBigPicShow)) = 0,false,MyBigPicShow) “
  9. On each picture, add the following to the on select: ” UpdateContext({MyBigPic: surface_book});UpdateContext({MyBigPicShow:true}) “ and be sure to change the name of each photo.

Now when you click on each photo, it will appear full screen. Then the user can choose to close it out using the X button.

 

Confluent-PowerApps-image-full-screen

 

Sometimes we will grey out the rest of the screen so the picture stands out. This feature uses variable to pass the image and the status between the three components.

 

Written by Power User and Managing Partner Evan Chaki, this post was originally published on the Confluent blog.

Comments