Download & Extend

PagePeeker Screenshots

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

Version Downloads Date Links
7.x-1.1 tar.gz (9.38 KB) | zip (10.07 KB) 2011-Dec-21 Notes

Project Information


Maintainers for PagePeeker Screenshots

  • geobaev - 8 commits
    last: 22 weeks ago, first: 26 weeks ago

Issues for PagePeeker Screenshots

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
nobody click here