cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps 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

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (5,596)