Making Thumbnails

  • Thread starter David Griffiths
  • Start date
D

David Griffiths

Hi all

I posted this on vb.contols but the group does not seem to be as active as
this one.

Using VB2005

I have a Web page that I am trying to load images as thumbnails. At present
I am using this code which is just loading a small view of the main image
also I presume using the same amount of memory and download time, the images
are 856K+ on disk, please correct me if I am wrong.

img1.ImageUrl = "/thumbs/001.jpg"

img1 is an Image control placed on the aspx page
<asp:Image ID="img1" runat="server" />

I have tried to follow the MSDN code for creating thumbnails and all I get
is a message telling me that a "System.Drawing.Image cannot be converted to
a System.Web.UI.WebControls.Image".

What would be the recommended way of creating a thumbnail for the aspx page,
any advice or comments on this subject would be welcomed.

Thanks in advance

Dave Griffiths
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top