The PagePeeker Screenshots module uses the PagePeeker.com (http://pagepeeker.com/) services to add screenshots and favicons to web sites pages.
Currently, the module provides the theme_pagepeeker_image() function to request and display web pages screen shots. The theme function could be executed as follows:
<?php
$options = array(
'url' => 'http://drupal.org', //URL of the site
'size' => 'l', // size of the generated screenshot.
'image_options' => array(
'attributes' => array('class' => 'my-class') // image "class" attribute
),
'url_options' => array(
'attributes' => array(
'class' => array('class1 class2'), // link "class" attributes
'title' => 'this is the URL title',
'target' => '_blank'
)
)
);
echo theme_pagepeeker_image($options);
?>Additional information related to the size of the generated screen shot could be found at http://pagepeeker.com/free_thumbnails
It is recommended to enable the Link module in your Drupal installation. This would allow the display of any custom link fields to be modified to show a Pagepeeker screenshot of the link's page. There is an additional option to choose the screen shot image size.
The ShrinkTheWeb thumbnails provides similar functionality and could be used as an additional source for web page screenshots.
Downloads
Project Information
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: Media
- Reported installs: 43 sites currently report using this module. View usage statistics.
- Downloads: 143
- Automated tests: Enabled
- Last modified: February 22, 2012