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

How to add an image in a HTML table

In my app, I have a "Detail Form", and i will send it by email. I have use "HTML text" to do it, but I have a problem, because one of my items is an image.

Captura.JPGScreen

 

I know that de code for a item of my "Detail Form" is the next:

 Captura2.JPG

 

 

But i would like what is the code to add a Image, without needing a source. Only the image that is in this moment in the "Data Card" of my "Detail Form".

 

 

 
 
 
 
 
1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: How to add an image in a HTML table

Hi,

 

To add the image, you would need to configure the image source of the img Label, for example:

 

<img src="data&colon;image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUA
AAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO
    9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="Red dot" />

Or you may try the URL:

<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTf8peeAQ8Jbw4lowjdYM9OYVJFJr8EwgGNTsJ6BtbqPdNHWz2m" 
alt="Testing" width="500" height="100">

Within the Email Body, and make sure you have the IsHtml configured to Yes.

 

This way should be able to send the Email with a image.

 

 

 

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.
4 REPLIES 4
Community Support Team
Community Support Team

Re: How to add an image in a HTML table

Hi,

 

To add the image, you would need to configure the image source of the img Label, for example:

 

<img src="data&colon;image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUA
AAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO
    9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="Red dot" />

Or you may try the URL:

<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTf8peeAQ8Jbw4lowjdYM9OYVJFJr8EwgGNTsJ6BtbqPdNHWz2m" 
alt="Testing" width="500" height="100">

Within the Email Body, and make sure you have the IsHtml configured to Yes.

 

This way should be able to send the Email with a image.

 

 

 

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.
tianaranjo
Level 8

Re: How to add an image in a HTML table

@v-micsh-msft Michael,

Can you tell me where/how I get the internal 'Image' source from the internal image?  I have tried EncodeURL, PlainText

KickingApps
Level 8

Re: How to add an image in a HTML table

@Meryland95 Where you able to acheive this?  If so, can you describe how?  Thank you.

Highlighted
SnowFlake
Level: Powered On

Re: How to add an image in a HTML table

@v-micsh-msft 

 

Please, I have scoured the internet for a working example of an HTML text holding an image encoded in base64. I copied your <img> and still not working. 

 

<img src='data&colon;image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUA
AAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO
9TXL0Y4OHwAAAABJRU5ErkJggg==' alt='Red dot' />

I don't know why it's showing the alt= "Red Dot" and not showing your image. 

Please, could you assist in what I am doing wrong? 

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 174 members 3,837 guests
Please welcome our newest community members: