Comments (5)
Hi all! Just checking if there are any plans to merge #202 . Would love to upgrade my pillow instance and having a fork just for this is a bit of a downer :-(. Been coming here once a month to check. Any help we can do to unblock this patch? Thanks!
from django-versatileimagefield.
Until this is approved, a quick fix I to set Pillow to 9.5.0
Pillow==9.5.0
from django-versatileimagefield.
One annoyance before I found out is the fact, that in templates it silently fails and outputs empty text instead of the URL. That makes it much harder to debug. Only when I tried calling the same thing from python directly, I got the exception.
from django-versatileimagefield.
Until this is approved, a quick fix I to set Pillow to 9.5.0
Pillow==9.5.0
For anyone who needs to upgrade Pillow, you can monkey patch it to fix versatileimagefield until #202 is merged.
Add this anywhere in your project, just make sure it runs before versatileimagefield is instantiated.
from PIL import Image
Image.ANTIALIAS = (
Image.Resampling.LANCZOS
) # fixes https://github.com/respondcreate/django-versatileimagefield/issues/203
from django-versatileimagefield.
from django-versatileimagefield.
Related Issues (20)
- Unclear docs on using VersatileImageFieldWarmer with rendition sets HOT 1
- python-magic 0.4.20 incompatible
- Fails to work with django-cacheops HOT 2
- How to store filename returned by storage for sized images? HOT 1
- Test with Python3.9
- Test with Django 3.1 and 3.2
- Add Django 3.2 Compatibility HOT 1
- Test with djangorestframework 3.11 and 3.12
- error to upload images using django-rest and angular HOT 1
- versatileimagefield How to use Django Graphql
- Deleting all created images for the image without extension fails
- VersatileImageFieldWarmer regenerate images for delete rendition key set
- Question: is it possible to use this app with static files?
- AttributeError: module 'magic' has no attribute 'from_buffer' HOT 1
- Django 4 HOT 3
- Question: Crop as circle
- Extra queries when warming with VersatileImageFieldWarmer
- Created images not deleted when using image_key_post_processor
- Configurable exception handling HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-versatileimagefield.