Tror ikke at det kan gøres i en WebBrowser, men hvad med at loade selve billeder fra websiden og placere den i en PictureBox i stedet?
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Net;
using System.Threading;
namespace e730674
{
public partial class Form1: Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
GetImage("
http://www.eksperten.dk/img/elogo.png");
}
private void GetImage(String imageURL)
{
AutoResetEvent waiter = new AutoResetEvent(false);
WebClient wc = new WebClient();
wc.DownloadDataCompleted += new DownloadDataCompletedEventHandler(wc_DownloadDataCompleted);
Uri uri = new Uri(imageURL);
wc.DownloadDataAsync(uri, waiter);
}
void wc_DownloadDataCompleted(object sender, DownloadDataCompletedEventArgs e)
{
byte[] b = (byte[]) e.Result;
MemoryStream ms = new MemoryStream(b);
pictureBox1.Image = Image.FromStream(ms);
}
}
}