web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Adding Unique Images t...
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.

Categories:
I have the same question (0)
  • elseb Profile Picture
    774 Moderator on at

    Hi, 

     

    how is it done at the moment?

    Is it a gallery? where are the images stored?

     

    Seb

  • UniDeen22 Profile Picture
    31 on at

    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
    774 Moderator on at

    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

    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
    774 Moderator on at

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

  • UniDeen22 Profile Picture
    31 on at
    In the Item property is
    Choices([@'Permits App List'].'What Hazards could I face?')
  • Verified answer
    elseb Profile Picture
    774 Moderator on at

    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

    That works!! Thank you so much

  • elseb Profile Picture
    774 Moderator on at

    You're welcome 🙂

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard