django-lazy-srcset

Lazy srcset and image generation for Django. Minimum effort required. No database required.

MIT License

Downloads
267
Stars
4
Committers
1

Bot releases are visible (Hide)

django-lazy-srcset - v1.0.3

Published by Quantra 10 months ago

Python 3.12 support.

django-lazy-srcset - v1.0.2

Published by Quantra about 1 year ago

imagekit_cleanup.py bug fixes

django-lazy-srcset - v1.0.1 Latest Release

Published by Quantra about 1 year ago

Error handling; no-op behaviour for when images are being generated in another thread.

django-lazy-srcset - v1.0.0

Published by Quantra over 1 year ago

Beta release.

  • LAZY_SRCSET_ENABLED setting added. By default it is the opposite of DEBUG.
  • default_size can be set using a kwarg if needed.
  • format_html() replaces previous stringification.
  • LAZY_SRCSET_THRESHOLD setting added. This can be used to prevent images of a similar width from being created.
  • Sizes can now be either an integer or a string with vw or px units.
  • When a size is defined with px it ignores the threshold and will always be made.
django-lazy-srcset - v0.2.2

Published by Quantra over 1 year ago

Bug fix release. Sizes attr order is now reversed.

django-lazy-srcset - v0.2.1

Published by Quantra over 1 year ago

Clean up management command

django-lazy-srcset - v0.2.0

Published by Quantra over 1 year ago

Tests & docs

django-lazy-srcset - v0.1.0

Published by Quantra over 1 year ago

From the beginning...

Package Rankings
Top 19.88% on Pypi.org
Related Projects