Created
March 6, 2012 04:42
-
-
Save coreyweb/1983601 to your computer and use it in GitHub Desktop.
Retrieve screenshot of any page on the web
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$snap = 'http://s.wordpress.com/mshots/v1/'; | |
$url = 'http://www.squidoo.com'; | |
$alt = 'alt value'; | |
$width = '400'; | |
$height = '300'; | |
?> | |
<img src="<?php echo $snap . urlencode($url) ?>?w=<?php echo $width ?>&h=<?php echo $height ?>" alt="<?php echo $alt ?>" title="<?php echo $alt ?>" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment