Django Media manager with celery image optimatization
€30-250 EUR
Maksettu toimituksen yhteydessä
You will extend the one i put in mediamanager app.
1. Custom file/image field
- Which opens a large modal with a iframe of the mediamanager
- there should be a type option so that only the required file type can be selected
- When selecting a certain file it adds the file on save
2. Media manager
- When file has been uploaded, save the original file in map /orig while you make thumbnails in the most common sizes and also compress them accordingly (Celery task).
- All images should be converted to webp with fallback on png (so both have to be available)
- If browser does not support webp, png has to be shown
- Losless compression is necessary
- Directories have to be available in mediamanager (models already made)
3. Compression - Celery task
- First: Lossless compression
- Second: Create all common thumbnails in png
- Third: Convert to webp
- Both formats have to be saved
4. File deletion
- File has to be removed from server asswell
5. Storage
- Default will be static
- Option external storage
6. Django template tag to use an model image
for example:
{% show_thumbnail 'heightxwidth' 'object' %}
- Can be used within srcset
- If thumbnail size does not exist, take closest or create on the fly
Standard will show .webp but fallback .png if .webp is not supported
Projektin tunnus: #27507505