A suit of tools to use a FileField to upload image with light SVG support
MIT License
.. _Python: https://www.python.org/ .. _Django: https://www.djangoproject.com/ .. _sorl-thumbnail: https://github.com/jazzband/sorl-thumbnail
A suit of tools to use a FileField to upload image with light SVG support, include
thumbnail preview in field and a template tag around sorl-thumbnail
_ library.
Dependencies
Python
_>=3.9;Django
_>=4.0,<5.1;sorl-thumbnail
_>=12.9.0;Overview
Concretely this contains:
FileField
either with or without clearableAlthough this can work with ImageField
, SVG support will only work with
FileField
since ImageField
rely on PIL that does not support SVG format.
Links
Read the docs <https://django-smart-media.readthedocs.io/>
_;PyPi package <https://pypi.python.org/pypi/django-smart-media>
_;Github repository <https://github.com/sveetch/django-smart-media>
_;