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.
Screen
I know that de code for a item of my "Detail Form" is the next:
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".
Solved! Go to Solution.
Hi,
To add the image, you would need to configure the image source of the img Label, for example:
<img src="data: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
Hi,
To add the image, you would need to configure the image source of the img Label, for example:
<img src="data: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
@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
@Meryland95 Where you able to acheive this? If so, can you describe how? Thank you.
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: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?
Were you able to solve this problem? I am also running into the very same issue
Hi everybody,
I opened another threat to describe the problem I am facing in depth:
Help on this matter is highly appreciated.
Thank you and best regards
JHL
User | Count |
---|---|
252 | |
107 | |
88 | |
51 | |
44 |