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 / Store images in a Tabl...
Power Apps
Answered

Store images in a Table within application and showcase in Gallery

(0) ShareShare
ReportReport
Posted on by 149

Hello, I have 4 different images that I would like to show in a gallery. I have in Gallerys' property Items added this code, but the Image is just a text when I want to show it with ThisItem.Value.image

 

How can I turn this into an image? These images have been uploaded into my application.

 

Perhaps I'm just doing it all wrong?

[
 {
 category: "Equipment",
 id: 1,
 image: "Equipment_transparent.png"
 },
 {
 category: "Cleaning",
 id: 2,
 image: "Cleaning_transparent.png"
 },
 {
 category: "Operation",
 id: 3,
 image: "Operation.png"
 },
 {
 category: "Other",
 id: 4,
 image: "Other.jpg"
 }
]

 

Categories:
  • Verified answer
    WarrenBelz Profile Picture
    156,940 Most Valuable Professional on at

    Hi @Rama96x ,

    You need to "hard code" it - also I suggest you change the Image column name - I have use Pic below - for a gallery

    Switch(
     ThisItem.Pic
     "Equipment_transparent.png"
     Equipment_transparent,
     "Cleaning_transparent.png"
     Cleaning_transparent
     . . . . . .
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • WarrenBelz Profile Picture
    156,940 Most Valuable Professional on at

    Hi @Rama96x ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • Rama96x Profile Picture
    149 on at

    Hey @WarrenBelz, so sorry for the late response! What I instead did was to create a collection on the screen's OnVisible property with an Item called "Image:"
    That worked well! 

     

    I will mark your first reply as a solution 
    Have a great day 🙂

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard