17 Dec 2019 02:45:14 UTC
- Distribution: Template-Plugin-Thumbalizr
- Module version: 1.0.1
- Source (raw)
- Browse (raw)
- How to Contribute
- Repository (git clone)
- Testers (147 / 0 / 2)
- KwaliteeBus factor: 1
- License: unknown
- Activity24 month
- Download (3.05KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionJSOBRIER Julien Sobrierand 1 contributors
- Julien Sobrier
Template::Plugin::Thumbalizr - A Thumbalizr (https://thumbalizr.com) plugin for Template::Toolkit. This allows you to easily embed live screenshots into your website.
[% USE thumbalizr = Thumbalizr('api_key', 'secret') %] <img src="[% thumbalizr.url('https://www.google.com/') %]" />
The latest API version is detailed at https://www.thumbalizr.com/api/documentation. WebService::Thumbalizr.
The source code is available on github at https://github.com/juliensobrier/thumbalizr-template-toolkit.
[% USE thumbalizr = Thumbalizr('api_key', 'secret') %]
Initialize the Thumbalizr plugin. You must pass your API secret (login to your Thumbalizr account to display your secret).
Required. Embed API key.
Required. Thumbalizr secret.
<img src="[% thumbalizr.url('https://www.google.com/', size => 'page', bheight => 1280) %]" />
Display the URL of the Thumbalizr screenshot. You can use it as the src attribute of your img tag.
Required. URL of the website to create a screenshot of.
See https://thumbalizr.com/api/documentation for the API documentation.
Create a free account at https://thumbalizr.com/member to get your free API key.
Go to https://thumbalizr.com/member to find your API key and secret after you registered.
Julien Sobrier, <firstname.lastname@example.org>
Copyright (C) 2019 by Julien Sobrier
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
Module Install Instructions
To install Template::Plugin::Thumbalizr, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Template::Plugin::Thumbalizr
For more information on module installation, please visit the detailed CPAN module installation guide.