cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NigelP
Kudo Kingpin
Kudo Kingpin

Display Images using HTML

Hi

 

I have a number of images in the PowerApps media libray which I would like to display.

If I use a Text Field and insert the images into the text field works OK for Microsoft Edge, but not for Google Chrome.  I suspect the way the rendering engine works is different on both browsers.

 

Sio I thought, lets put it all in HTML and see how that goes.  I can create the HTML, but I am having issues with the images.  I cannot get the images to display.

 

In the OnVisible event on the screen, I Set(gApproved, Approved)  where gApproved is the global variable and Approved is the Image I want to display in the PowerApps Media library.

 

I try and display the image as follows :-

 

"<table border='1' width='100%';style='font-size:18px;font-family:arial'><col style='width:20%'><col style='width:20%'><col style='width:20%'><col style='width:20%'><col style='width:20%'>" &

"<tbody>" &

"<tr><td>" & "Key:" & "</td><td>" & "Approved" & "<img src="" & gApproved & ""/>" &"</td><td>" & "Rejected" & "</td><td>" & "Not Started" & "</td><td>" & "Out For Approval" & "</td></tr>" &

"</tbody></table>"

 

What am I doning wrong ?

 

Thanks

 

Nigel

3 REPLIES 3
PytByt
Post Prodigy
Post Prodigy

Hi @NigelP 

Have you solved your problem?

I have similiar problem with you, can you share the solution with me please?

Thanks.

pytbyt

Anonymous
Not applicable

Hi @NigelP - were you able to find a solution to this issue?

 

@Anonymous 

bump

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (1,604)