cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NigelP
Level 8

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
Level 8

Re: Display Images using HTML

Hi @NigelP 

Have you solved your problem?

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

Thanks.

pytbyt

TopShelf-MSFT
Level 10

Re: Display Images using HTML

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

 

@TopShelf-MSFT 

seadude
Level 10

Re: Display Images using HTML

bump

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,627)