Image loading: how?

Dec 14, 2013 at 11:15 PM
How can I load images on HTML panel?

<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?
Dec 14, 2013 at 11:23 PM
Edited Dec 15, 2013 at 2:00 PM
Problem solved :-)
You need to spesify full image file path:

args.Callback( Path.Combine( path, args.Src ) );

My bin is in one folder, image file in other.