Skip to main content

Thumbalizr_tags version 1.0

Thumbalizr (https://thumbalizr.com/) is a web service to easily embed live screenshots of any URL in your website. Thumbalizr has full support for Flash, JavaScript, CSS, & HTML5.

You can install the library from PyPI: https://pypi.org/project/Thumablizr-tags

The source code can be found on github at https://github.com/juliensobrier/thumbalizr_django

This module add custom tags to Django to embed your Thumbalizr screenshots.

INSTALLATION

python setup.py install

DEPENDENCIES

The following python packages are required to run thumbalizr

thumbalizr

DJANGO

After installing Thumbalizr_tags, update your Django configurations:

settings.py:

INSTALLED_APPS = [
	...
	'thumbalizr_django'
]


# Thumbalizr settings
THUMBALIZR_SETTINGS = {
	'API_KEY': 'MY_KEY',
	'SECRET': 'MY_SECRET',
	'WIDTH': '',
}

Change MY_KEY to your Embed API key, and MY_SECRET with your Thumbalizr secret. You can add default values for the API call: WIDTH, BWIDTH, BHEIGHT, etc. If not set, Thumbalizr will use the default values for your profile.

Then, in your templates, use the thumbalizr tag to generate the image URL. For example, to take a screenshot of https://www.thumbalizr.com/ with a thumbnail width of 800 pixels:

{% load thumbalizr_tags %}
<img src="{{ 'https://www.thumbalizr.com/'|thumbalizr:800 }}"/>

Metadata

Release files for Thumablizr-tags 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Thumablizr-tags 1.0.1
File Size Uploaded
Thumablizr_tags-1.0.1.tar.gz 2.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Thumablizr-tags 1.0.1
File Interpreter ABI Platform
Thumablizr_tags-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.1 kB

Release files / Thumablizr_tags-1.0.1.tar.gz

Download URL Thumablizr_tags-1.0.1.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5c04aae3ed04d5f13065e45879ff4dcd51f0c4aa79c894894cdc7a328e32b694
BLAKE2b-256 checksum
How to use checksums
8802ea881e2e01b2e29c8803607993e1ff1e5bf271178af990112f6aab0fd494
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.6.8

Release files / Thumablizr_tags-1.0.1-py3-none-any.whl

Download URL Thumablizr_tags-1.0.1-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ccab798cbe2676f89f049a3c00d9d24365fc5e92dd4266e09921c41aceec9f31
BLAKE2b-256 checksum
How to use checksums
23cded8839ba097fac04049f29cd61cf813064eab772ffc4ef02a158c7a96770
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.6.8

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page