Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
The module comes with an integration to PhantomJS which allows you to take screenshots or PDFs of a URL.
The module comes with an administration interface that allows you to configure the location of PhantomJS and a default destination folder. It also has a test function to test if your configuration works. PhantomJS works by giving phantom an JavaScript file that tells phantom what to do and this module comes with a default JavaScript file that renders full HD size screenshots.
For more information about PhantomJS possibilities you should look at the wiki pages and the examples that comes with PhantomJS.
Usages
To use this module in your code the phantomjs_capture_screen can be called after you have saved its configuration.
The $url is the page to capture and the $dest is an URI to where the image should be stored and the $filename to store it under.
This module allows you to select a page template from your theme in the Node edit window. This will override the theme suggestions set up in template.php on the affected node.