Django-easy-images

Latest version: v1.4

Safety actively analyzes 688917 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.4

Features

* Add a `cover` option. Previously this was always true (meaning a non-cropped image was only scaled down to cover the dimensions, resulting in larger image sizes). Now you can explicitly set this to false to scale the image down to fit within the dimensions.

Bugfixes

* Small fix to handling of options which were falsey.

1.3

Change default format to `webp` because `avif` uses incredible amounts more memory.

1.2

Changes

- `Img.quote()` now will trigger the `queued_img` signal by default.
You can avoid sending this signal if any images were queued by doing: `Img.quote(..., send_signal=False)`

Features

- Add `BoundImg.__str__` as an easier way to get the HTML in templates.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.