Create Thumbnail from url like Digg in asp.net/C#

2k Views Asked by At

How I can create a thumbnail from a URL?

For example:

  • Like on Digg, when I submit a link, Digg choses a Thumbnail from any images on that URL.
  • Or like Facebook, when I submit a link, I can chose a thumbnail for that link.

So, how I can do that with ASP.Net/C#. I just want to create a thumbnail (not a screenshot of the web page).

2

There are 2 best solutions below

0
On

To create a screenshot from a web page you need to have an interface to a layout engine like Gecko or Webkit. You may use khtml2png for creating web page screenshots.

To create thumbnails from the web page you have to parse the web page's source, download the image links and resize them to the given thumbnail size.

1
On

You can try my C# wrapper for CutyCapt.