django-imagekit
django-imagekit copied to clipboard
Automated image processing for Django. Currently v4.0
I've only tested this with Django 2.2 and python 3.7.5. When attempting to use the thumbnail templatetag, specifying `anchor='c'` causes the template to render and cause an infinite recursion error....
I want to find out the dominant color of the image and store it in a field. This should happen in the `save` method. I'm using a little version of...
If there is no file exist in server or path, Dango raises `OSError`. To avoid error in templates, check image path availability before rending. and can set `default url` as...
Hello I´m getting this error while trying to Deferring Image Generation async with celery: ``` Internal Server Error: /client/business/3 Traceback (most recent call last): File "/Users/uppersky03/Documents/ProyectosMomentum/desarrollo/venv/lib/python3.6/site-packages/kombu/serialization.py", line 50, in _reraise_errors...
When i try to use option compression for tiff images, raises an error ``` ProcessedImageField(upload_to=upload_path_handler, processors=[Adjust(color=0)], format='TIFF', options={'tiffinfo': {317: 2}, 'compression': "tiff_lzw"}, null=True) ``` error: ``` AttributeError at /cabinet/1/company/1/documents/upload/web/ No...
I have an error 400 on the three consecurive page loads. I check the error in production and it's due to the image path tries to write the image root...
Thank you for this very useful package. I want to have a thumbnail generated when user uploads a file, probably using celery. I see we can set the general quality...
So I have a field like that: ``` class MyModel(models.Model): photo = ProcessedImageField( processors=[ OptionalResizeToFit(3000, 3000, upscale=False), ] ) ``` and `OptionalResizeToFit` as follows: ``` class OptionalResizeToFit(ResizeToFit): """ Do the...
Hello. Consider the situation. We have a model with `photo = ProcessedImageField(processors=[ResizeToFit(100, 100)])` and dynamic `upload_to` arg where path is calculated as md5 for the uploaded image (quite typical behaviour)....
Ok, after a thorough read of #391 I can say it's not related, though it is similar. I am using Django default local storage. No storage plugins of any kind....