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

Picture in HTML Text

Hey Guys,

 

Is there anyway to put a picture in a HTML Text control?

 

Also Is there anything else interesting about the HTML Text control anyone would like to mention?

 

 

Thanks,

Scobie

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Picture in HTML Text

Hi @Scobie,

 

Yes, there is a way to add image into HTML Text control, it supports the <img> tag together with the image URL.

 

For example:

Under the HTMLText property of the control, enter the following:

"Show your <b><font color=blue>HTML</font></b> text here.
<img src=""https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTf8peeAQ8Jbw4lowjdYM9OYVJFJr8EwgGNTsJ6BtbqPdNHWz2m""
alt=""Testing"" width=""500"" height=""100"">"

Which would give you the following result:

105.PNG

 

For more information about the HTMLText control, see:

HTML Text control in PowerApps

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

7 REPLIES 7
Community Support Team
Community Support Team

Re: Picture in HTML Text

Hi @Scobie,

 

Yes, there is a way to add image into HTML Text control, it supports the <img> tag together with the image URL.

 

For example:

Under the HTMLText property of the control, enter the following:

"Show your <b><font color=blue>HTML</font></b> text here.
<img src=""https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTf8peeAQ8Jbw4lowjdYM9OYVJFJr8EwgGNTsJ6BtbqPdNHWz2m""
alt=""Testing"" width=""500"" height=""100"">"

Which would give you the following result:

105.PNG

 

For more information about the HTMLText control, see:

HTML Text control in PowerApps

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Scobie
Level: Powered On

Re: Picture in HTML Text

Hey @v-micsh-msft,

 

Thanks that is great to know.

 

Is there a way to upload a picture into media in PowerApps and use that image in the HTML text?

 

Or does it have to be a Image url?

 

Also can this be used with an Image in Sharepoint?

 

Thanks,

Scobie

reddd
Level: Power Up

Re: Picture in HTML Text

Hi, 

 

I have the same question. 

 

If you have a sharepoint library with images as a source data in your powerapp. Can you get the URL from the 'link to item' field and added in the Html Text??

 

Could this be done to add all the images in the sharepoint library in the Html text box?

 

Many thanks

SnowFlake
Level: Powered On

Re: Picture in HTML Text

Hi Guys 

 

I have the same questions as the above, is it possible to reference in-app Images or Media, 

 

Scenario, Client Signs off on powerapp, HTML Text control makes a nice document with said signatures embedded. 

Or
Scenario 2, Client Signs off on powerapp, Flow takes signature to SharePoint. Can I reference that signature.jpg back into the powerapp to build said form? 

 

I'm only asking if the above is possible. 

 

Please and thank you guys.

 

AveDog08
Level: Powered On

Re: Picture in HTML Text

Hi Guys 

 

I have the same questions as the above, I've been struggling with this issue from almost a year now.

SnowFlake
Level: Powered On

Re: Picture in HTML Text

Hi @AveDog08 

 

I did a workaround where I convert my images into a base64 format then put them in the <img src='data&colon;image/png;base64,[base64data]'>

they will not show on the app but when you send it in an email or convert to pdf it will be there. this does mess with your HTML format as the string of base64 is so long it pushes around your columns however it is just visual on the email or pdf it comes through perfectly. 

 

In my scenario, the customer wanted to see a preview of the PDF. thus I made two HTML controls and referenced image URLs as a source in one control and put the base64 images in the other hidden HTML control. on the button selected, the user would send the HTML base64 Control and not the one they were actually seeing. 

 

I used Flow to fetch the signatures from email and convert them to base64 then write them to SharePoint. I then used collections to fetch the data I needed and populated the HTML file with the client signature. 

 

I hope this helps man 

good luck

SenVQuy
Level: Power Up

Re: Picture in HTML Text

Hi bro!
Can you set that image to background

Sorry my english not well

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
Users Online
Currently online: 105 members 5,435 guests
Recent signins:
Please welcome our newest community members: