A website screenshot and thumbnailing app for Django.
Project description
A website snapshot and thumbnailing app for Django. Uses firefox, selenium, and sorl-thumbnail.
Getting started
Requirements
django-thummer requires Firefox and Xvfb. On Debian/Ubuntu systems these can be installed using:
sudo apt-get install firefox xvfb
Installation
django-thummer can be installed to your Python environment using pip:
pip install django-thummer
Then add thummer to INSTALLED_APPS in your Django settings file, and sync the database. If you’re using South, then migrations are provided.
Basic usage
from thummer.utils import get_thumbnail thumbnail = get_thumbnail('http://www.example.com/', '400x400')
Credits
Special thanks to the sorl-thumbnail and selenium projects. Thanks also to the blog posts which originally got me thinking about the project:
To-do
Snapshot error handling
Documentation
Template tag
Celery tasks
Placeholder image
Management commands
Tests
Logging
Cache redirect response?
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.