Page2Images module allows user to create a website thumbnail preview in the content using only a website URL.
The module requires a free or paid account from Page2Images, who is the service provider.
Features:
- Provides a new field type and field widget.
- Provides a formatter to display field values.
- Supported API: Rest API with callback.
Rest API with callback
Callback API of Page2Images allow you send Page2Images a lot of requests in a short period, e.g. 1,000 requests in 5 minutes. You can add page2images field to your content type with unlimited field items. When you submit your form with a lot of URLs, the module sends these URLs to Page2Images. Then, Page2Images sends a notification when they finish the screenshot of one page. This module provides a listener path to recieve these notification messages, and it saves screenshots into Drupal file system and attach files to the specified field.
You can find more details about Callback API of Page2Images here.
Installation and configuration
- Install Page2Images module as described here.
- Get your Rest API key by signing up at: Page2Images.
- Set your API key for module at "admin/config/services/page2images".
- Create a page2images field by an entity type and configure it as your needs.