cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

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
Frequent Visitor

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
Frequent Visitor

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

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (7,757)