cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Cc2019
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
Isa_Watanabe
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
Isa_Watanabe
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.

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
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.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (1,481)