Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Adding Unique Images to a Gallery of checkboxes

(0) ShareShare
ReportReport
Posted on by 31

Hi All, 

I'm trying to make a Canvas app imitating a work permits form. In the form their are safety warning picture that I'd like to include to my form also. In the Image below you can see I have made a Multi select checkbox with different safety hazards that I've linked to a SharePoint. 

 I would like the warning images to be Unique for each hazard instead of repeating. Is there a way of doing this ?

UniDeen22_0-1707825036440.png

Also I'm very new to PowerApps so if there's any resources or suggestion in helping me with my design I'd appreciate it.

  • elseb Profile Picture
    762 Super User 2025 Season 1 on at
    Re: Adding Unique Images to a Gallery of checkboxes

    You're welcome 🙂

  • UniDeen22 Profile Picture
    31 on at
    Re: Adding Unique Images to a Gallery of checkboxes

    That works!! Thank you so much

  • Verified answer
    elseb Profile Picture
    762 Super User 2025 Season 1 on at
    Re: Adding Unique Images to a Gallery of checkboxes

    ah makes a lot of sense now, you will have to go with option nr 2 then and instead of id in the if you have to use the name of the option e.g.

    if(ThisItem.Value = "manual Handling", manualhandling, ThisItem.Value = "hot surfaces", hotsurfaces) etc.

    that will be your image property.

    make sure to upload all the icons and check the names.

     

    Seb

  • UniDeen22 Profile Picture
    31 on at
    Re: Adding Unique Images to a Gallery of checkboxes
    In the Item property is
    Choices([@'Permits App List'].'What Hazards could I face?')
  • elseb Profile Picture
    762 Super User 2025 Season 1 on at
    Re: Adding Unique Images to a Gallery of checkboxes

    what's in the items property of the gallery from the first screenshot please?

  • UniDeen22 Profile Picture
    31 on at
    Re: Adding Unique Images to a Gallery of checkboxes

    Hi Seb, 

     

    Thank you, I appreciate your swift help. However I'm not sure I understand you properly. Because if I were to add an the splist, it would be one image to a record in the list, where as the "what hazards could i face" is a choice data type in my splist, how would I get these Individual images to appear along side their respective hazards. 

     

    I've included a ss of my splist. 

    UniDeen22_0-1707837468725.png

     

     

  • elseb Profile Picture
    762 Super User 2025 Season 1 on at
    Re: Adding Unique Images to a Gallery of checkboxes

    gotcha, in that case the simplest way of accomplishing this would be adding those images to the sharepoint list itself, that way if the image changes for any reason you just edit the record and upload new image. To display the icon, in the image property you have to put the correct column name where you store the images.

     

    you can also call upload all the images to the app and call them according to the ID of the record from the splist e.g. put this in your image property: if(thisitem.id =1, 'manualhandling', thisitem.id=2, 'hotsurfaces') etc.

    manualhandling and hotsurfaces would be your uploaded images of course.

    this options is a little more clunky in my opinion though and I would go with the former.

     

    Seb

  • UniDeen22 Profile Picture
    31 on at
    Re: Adding Unique Images to a Gallery of checkboxes

    Hi Seb, 

     

    Yeah its a Gallery that's how I made the multi select checkbox. 

    The images are stored on my computer but I uploaded them to PowerApps 

     

    Deen.

  • elseb Profile Picture
    762 Super User 2025 Season 1 on at
    Re: Adding Unique Images to a Gallery of checkboxes

    Hi, 

     

    how is it done at the moment?

    Is it a gallery? where are the images stored?

     

    Seb

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

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,700 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard