[](https://requires.io/github/Apkawa/easy-thumbnails-admin/requirements/?branch=master)
[]()
# Install
```bash
pip install easy-thumbnails-admin
```
1. Append into `INSTALLED_APPS` settings before `easy-thumbnails` like:
```python
INSTALLED_APPS = [
# ...
'easy_thumbnails_admin',
'easy_thumbnails',
'easy_thumbnails.optimize',
# ...
]
```
2. Configure `THUMBNAIL_ALIASES` like here. Add `admin`.`help_text` if needed.
```python
THUMBNAIL_ALIASES = {
'example_app.Article.poster': {
'small': {
'size': (100, 100), 'crop': 'smart',
# Here there
'admin': {
"help_text": "Small thumbnail, showed on article list"
},
},
'medium': {
'size': (300, 200), 'crop': 'smart',
# And here
'admin': {
'help_text': 'A generic thumbnail'
}
}
}
}
```
## Usage
This library patched all fields with `ThumbnailField`.
1. Click on preview or link at field in admin

2. Aliases list

3. Edit alias

# Contribute
## Run examples
```bash
# virtualenvwrapper
mkvirtualenv eta
workon eta
./tests/manage.py migrate
./tests/manage.py runserver
```
## frontend
```bash
yarn # or npm
yarn watch
yarn build # for release
```
Metadata
Release files for easy-thumbnails-admin 0.0.3
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 |
|---|---|---|---|---|
| easy-thumbnails-admin-0.0.3.tar.gz | 9.1 kB | Without provenance | Details for easy-thumbnails-admin-0.0.3.tar.gz |
Release files / easy-thumbnails-admin-0.0.3.tar.gz
| Download URL | easy-thumbnails-admin-0.0.3.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bfe830076d6816233beee7e39c70ccad885a3a59f1d17e4b4f4bad0953cb0362
|
|
BLAKE2b-256 checksum How to use checksums |
bf5447683d10135837e6bda0a195f9a0cac7ed5561bfc606168dfd7380a4d705
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for easy-thumbnails-admin 0.0.3
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.