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, <email@example.com>
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.