Skip to main content

Notifications

Community site session details

Community site session details

Session Id : blbUoiN73cKhAMq2S27BtN
Power Apps - Building Power Apps
Answered

How to add an image in a HTML table

Like (0) ShareShare
ReportReport
Posted on 13 Mar 2018 13:15:20 by 4

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.

ScreenScreen

 

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

 

 

 
 
 
 
 
Categories:
  • JHL Profile Picture
    112 on 27 Jul 2020 at 10:52:24
    Re: How to add an image in a HTML table

    Hi everybody,

    I opened another threat to describe the problem I am facing in depth:


    https://powerusers.microsoft.com/t5/Using-Flows/How-to-put-an-image-from-a-SP-library-into-a-HTML-ta...

    Help on this matter is highly appreciated.

     

    Thank you and best regards

    JHL

  • JHL Profile Picture
    112 on 22 Jul 2020 at 13:43:50
    Re: How to add an image in a HTML table

    Were you able to solve this problem? I am also running into the very same issue

  • SnowFlake Profile Picture
    88 on 16 Aug 2019 at 05:49:16
    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? 

  • KickingApps Profile Picture
    628 on 29 Aug 2018 at 06:39:43
    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.

  • tianaranjo Profile Picture
    497 on 26 Aug 2018 at 15:40:50
    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

  • Verified answer
    v-micsh-msft Profile Picture
    on 20 Mar 2018 at 13:25:32
    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 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,771 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,091 Most Valuable Professional

Leaderboard