Hi All,
I'm plan to use image (jpg file) in Media in PowerApps with Gallery for solving slow to load when use with filter function so i think and try to create the collection OnVisible like this
ClearCollect(
OptionsCollection,
{Value:"Logo1", Image: Logo1},
{Value:"Logo2", Image: Logo1},
{Value:"Logo3", Image: Logo1}
)
then with the image property of Image in the Gallery I create code like ThisItem.Image but it doesn't show any image
Could anyone advise me to solve this topic
Thank you
Best Regards
Solved! Go to Solution.
simply you can try with it lookup, but for lookup you have to add a Common column which can match with your gallery items column' data
.
hi @Newbii_PowerApp
On the taskbar File>Collection
please check if there's any image in Image column of the collection you created
Hi @Newbii_PowerApp, Please try with Table function, at my end its working absolutely fine,
Please see the attached images for the reference I have just created collection the on select property but you can use it Onvisible property as well.
I hope it will help you.
@goel_gagandeep Thank you for your advisement, I'm try your code with Onvisible already it won't work yet.
@Newbii_PowerApp , Actually you doing wrong dear, In your gallery you already took another datasource in Items property of the Gallery, If you want pic in the image section you have to call same Items(or say datasource) in which you added your imges i.e collection so you have to add your collection as Items property of the gallery
see this as a refrence
@goel_gagandeep Thank you, I'm understanding your explanation but I'm not surely which part of code that i can paste IconCollection and one more thing I'm have multi difference Logos to put in the Gallery so from your solution it can do that right
Do one thing add images column in the Table and directly add your images from the backend
User | Count |
---|---|
258 | |
110 | |
90 | |
52 | |
44 |