Getting Started
Install it with pip:
pip install django-url2png
Configure settings: API_KEY, SECRET_KEY
Optionally set optional defaults for the filter, especially THUMBNAIL_MAX_WIDTH
Use it in a template:
{% load url2png_tags %} <img src="{{ url|url2png:400 }}" width="400" height="{% get_height 400 %}"/>This uses the configured THUMBNAIL_MAX_WIDTH, which is set to 300:
{% load url2png_tags %} <img src="{{ url|url2png }}" width="300" height="{% get_height %}"/>
Metadata
Release files for django-url2png 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-url2png-0.4.tar.gz | 538.5 kB | Without provenance | Details for django-url2png-0.4.tar.gz |
Release files / django-url2png-0.4.tar.gz
| Download URL | django-url2png-0.4.tar.gz |
|---|---|
| Size | 538.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7f9bd24697bbf8884ee26849d402507018b94f44dc41e557422854174ef2212a
|
|
BLAKE2b-256 checksum How to use checksums |
6b70b8319f36987de44ee7e46a48082dd7c0b51ec07ae3ff56513c418ebb0166
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-url2png 0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.