Quantcast
Channel: HTML Renderer
Viewing all articles
Browse latest Browse all 693

New Post: Image loading: how?

$
0
0
How can I load images on HTML panel?

My HTML:
<img src="logo.jpg" class="image-logo" /> logo.jpg is in the same folder as html file.

I use code template from samples:

// initializaion
_htmlPanel.ImageLoad += HtmlPanelOnImageLoad;

// handler
    private void HtmlPanelOnImageLoad( object sender, HtmlImageLoadEventArgs args )
    {            
        args.Callback( args.Src );
    }
But image not shown. What's wrong?

Viewing all articles
Browse latest Browse all 693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>