We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Images in HTML-rendered tooltip

Hi,

when setting a tooltip's Body's RenderHtml property to True, I can add img elements, but they don't get rendered. For instance, with the Text property set to:

<p><img src="http://upload.wikimedia.org/wikipedia/sr/3/34/HTML5_Logo_256.png"/>Test</p>

, I can see the text, but not the image.

The Image, ImageAlign, etc. properties won't do the trick for me, as I need more customizability than that.

4 Replies

SK Senthil Kumaran Rajan Syncfusion Team July 30, 2014 12:54 PM UTC

Hi Soeren, 

Thank you for using Syncfusion products, 

We would like to let you know that currently in supertooltip the <img> tag don’t have the support to load the image directly from the website. But the image in the local system can be displayed. We have prepared a sample for your reference and it is attached below. 

Please let us know if you need further assistance, 

Regards,

R.Senthil kumaran.


Attachment: ToolTipAutoSize_f15167da.zip


SK Soeren Kuklau July 30, 2014 01:07 PM UTC

Hi Senthil,

that works great, thanks!

Any chance you'll implement support for base64 data URIs? E.g.:

<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA2UlEQVR4nM3SoU4DQRDG8V+pagIPAVVgKngEFKoJAoVpHekjYAkOieVVyAlwPAkYFIGjvYrbTYZjr8XBJJts9pvvP7szy3+IfTzgE03P+sJNyp/iMAIqLDDcUGQnrasEfMNxFust5hzXnVudZaEJSWOMCubbYFzhMooZcIoPPGE3nQ1wF8xLzLv0DHgMiRX2cO97Iy9Kb8uACV6D4SXsa5yXzBFQgjTpWdOkV9sAXci7tjd9uSiPcaLtyUk4G2gn8CN+85GGmOG5JB4kSK3/K9fa8R5tKPJHsQbLsUs5YHl7SQAAAABJRU5ErkJggg==">


That way, I could keep some images in memory and avoid storing them as temporary files.


Regards,

Sören



SK Senthil Kumaran Rajan Syncfusion Team July 31, 2014 05:36 AM UTC

Hi Soeren, 

Thank you for your update, 

We would like to let you know that currently there is no support for your requirement in SuperToolTip. We have considered this requirement as future report. And We will implement this feature in any of our upcoming releases. 

Please let us know if you need further assistance, 

Regards,

R.Senthil kumaran.



SK Soeren Kuklau July 31, 2014 08:56 AM UTC

Great, thanks!

Loader.
Live Chat Icon For mobile
Up arrow icon