views:

432

answers:

3

How I can create thumbnail from url. For example: Like Digg website, when I submit a link, Digg for me chose 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 create thumbnail (not Screen Shot of web page)

Thanks so much.

A: 

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.

zoli2k