cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Cc2019
Level: Powered On

HTML to Picture

Hello dear community,

 

I can see that several of us have issues with susscesfully incorporating images into our HTML texts.

Is there anyone that has figured out a way to do it?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Isa_Watanabe
Level: Powered On

Re: HTML to Picture

Hi Cc2019,

 

Many people seem to be having this issue. Currently, the HTML text input does not appear to be rendering Base65 images within the <img src=""> tag.

 

For example, if you enter the code below in https://www.w3schools.com/html/tryit.asp?filename=tryhtml_basic, it will work. If you do the same in PowerApps, it will fail. It appears that at some time it did work, and now in the latest version it no longer works.

<img height='50px' width='80px' src='data&colon;image/gif;base64,R0lGODlhUAAyAOQAAP///yhQmJiYmKCgoFiAsKioqMjQ4HiQuOjo6DBYmJCoyPDw8PDw+EBooFBw qKCw0Ki42NDY6ICYwLjI2ODo8Fh4sGhgYHiIoKCYmGiIuAAAAAAAAAAAAAAAAAAAAAAAACwAAAAA UAAyAEAI/wABCBxIsKDBgwgTKlzIsGHDAQ4RQhy4oACCiBgzGrig4ACBBAFCigyZceDEkigFhmwg 8EAABwNDGgAAgaSAmzhz6hRgMqXPkRliBlAgMMLIlCd9+tzY8ePIozuj4uyptKrVq1gLJi05oOLF rFe3ZhxAtmxZDAXANnzKti0AqVKpqlUokoBAmAwOAIggAYABkUjnLmxLGDBKsYITIg6b2KHZx5Aj D7DYWOlixwK9Vh47EK5nCwY1b154maDnnXJHqyxMOLBqoazZun4NQOQEvwEgDJSQ4C7Jw7RXh4ww UEEABgMJAD6tM7Vq1gkIEGgAlflUgaUFx3YLPLjWxNm9i80fT56xT7Rfyx8MrxCiaPUE2SumSBk+ 9s7WdYIm+L68fIkH9Sfef5z5V5ABEzQF0lv58XRfcAdUANJ2v3HlHYVPMZifc6NheFR3tIWkFwDK HYfbUABQUGGBIYaE3AMBjAiAAwFQAIAENjXI4WYiEcVAjX7RZFdtK2JE4FUfPuAXSwAoaVyOGz7Y YkhKCqTcTAJNGMBsr43EpFEBDFmTYRYG5+FyOkrZ5ZlbgvhahFpup6F1O9K2FYIKtlkmeUdG1CdY kgUqaGT2FWroZgEBADs=' border='0'>

For the time being I would recommend saving your images as a JPEG or PNG to some accessible location (e.g. SharePoint) and pointing to the file in the <img src="https://blahblah.org/images/myimage.jpg"> tag.

View solution in original post

2 REPLIES 2
Isa_Watanabe
Level: Powered On

Re: HTML to Picture

Hi Cc2019,

 

Many people seem to be having this issue. Currently, the HTML text input does not appear to be rendering Base65 images within the <img src=""> tag.

 

For example, if you enter the code below in https://www.w3schools.com/html/tryit.asp?filename=tryhtml_basic, it will work. If you do the same in PowerApps, it will fail. It appears that at some time it did work, and now in the latest version it no longer works.

<img height='50px' width='80px' src='data&colon;image/gif;base64,R0lGODlhUAAyAOQAAP///yhQmJiYmKCgoFiAsKioqMjQ4HiQuOjo6DBYmJCoyPDw8PDw+EBooFBw qKCw0Ki42NDY6ICYwLjI2ODo8Fh4sGhgYHiIoKCYmGiIuAAAAAAAAAAAAAAAAAAAAAAAACwAAAAA UAAyAEAI/wABCBxIsKDBgwgTKlzIsGHDAQ4RQhy4oACCiBgzGrig4ACBBAFCigyZceDEkigFhmwg 8EAABwNDGgAAgaSAmzhz6hRgMqXPkRliBlAgMMLIlCd9+tzY8ePIozuj4uyptKrVq1gLJi05oOLF rFe3ZhxAtmxZDAXANnzKti0AqVKpqlUokoBAmAwOAIggAYABkUjnLmxLGDBKsYITIg6b2KHZx5Aj D7DYWOlixwK9Vh47EK5nCwY1b154maDnnXJHqyxMOLBqoazZun4NQOQEvwEgDJSQ4C7Jw7RXh4ww UEEABgMJAD6tM7Vq1gkIEGgAlflUgaUFx3YLPLjWxNm9i80fT56xT7Rfyx8MrxCiaPUE2SumSBk+ 9s7WdYIm+L68fIkH9Sfef5z5V5ABEzQF0lv58XRfcAdUANJ2v3HlHYVPMZifc6NheFR3tIWkFwDK HYfbUABQUGGBIYaE3AMBjAiAAwFQAIAENjXI4WYiEcVAjX7RZFdtK2JE4FUfPuAXSwAoaVyOGz7Y YkhKCqTcTAJNGMBsr43EpFEBDFmTYRYG5+FyOkrZ5ZlbgvhahFpup6F1O9K2FYIKtlkmeUdG1CdY kgUqaGT2FWroZgEBADs=' border='0'>

For the time being I would recommend saving your images as a JPEG or PNG to some accessible location (e.g. SharePoint) and pointing to the file in the <img src="https://blahblah.org/images/myimage.jpg"> tag.

View solution in original post

Cc2019
Level: Powered On

Re: HTML to Picture

Thank you @Isa_Watanabe!

 

The picture works in PowerApps but i still have issues with it when using flow to convert it to .pdf

Do you have any idea what could be the reason for that?

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,237)