I tried using Snappy (src – http://www.codediesel.com/downloads/snappy) and wkhtmltoimage (src – http://code.google.com/p/wkhtmltopd) on Windows 7 to get the images from URL but every time I get
error: The image cannot be display as it contains errors
Code:
<?php
require_once('Snappy/Media.php');
require_once('Snappy/Image.php');
/* 'wkhtmltoimage' executable is located in the current directory */
$snap = new Image('C://"Program Files"/wkhtmltopdf/wkhtmltopdf.exe');
/* Displays the bbc.com website index page screen-shot in the browser */
header("Content-Type: image/jpeg");
$snap->output('http://www.bbc.com bbc.jpg');
?>
I’m not sure about what you are using, but http://www.artviper.net/website-tools/website-thumbnails.php has a nice site. You can even simply customize their link to show any website. It takes a while to load though. So I would advise to save them locally
You can even customize the output width and the browser width/height.
Simple sample code to save them locally and show image: