Skip to main content

Extension to easy_thumbnails for Django providing thumbnails from static files

Project description


Django application providing template tags to create thumbnails from static files using easy-thumbnails


pip install Pillow easy-thumbnails static-thumbnails


Add static-thumbnails to your

    # ... regular django apps go here

And then use it as the regular thumbnail tag from easy-thumbnails, but pointing ot to a file in your STATIC_ROOT:

{% static_thumbnail 'some/static/file.png' 150x100 quality=100 HIGH_RESOLUTION as logo %}
<img src="{{ logo.highres_url }}" width="{{ logo.width }}" height="{{ logo.height }}" />

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

static-thumbnails-0.9.tar.gz (5.7 kB view hashes)

Uploaded source

Built Distributions

static_thumbnails-0.9-py3.7.egg (11.9 kB view hashes)

Uploaded 3 7

static_thumbnails-0.9-py3-none-any.whl (7.5 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page