django-imagekit
django-imagekit copied to clipboard
Automated image processing for Django. Currently v4.0
We've got an app that's set to resize upload images to create a thumbnail: ``` department_image_thumb = ImageSpecField(image_field='department_image', processors=[ResizeToFill(231, 130)], format='JPEG', options={'quality': 100}) ``` So far so good. However, we're...
``` Traceback (most recent call last): File "/home/ubuntu/.virtualenvs/webcassette/src/celery-webcassette/celery/app/trace.py", line 218, in trace_task R = retval = fun(*args, **kwargs) File "/home/ubuntu/.virtualenvs/webcassette/src/celery-webcassette/celery/app/trace.py", line 398, in __protected_call__ return self.run(*args, **kwargs) File "/home/ubuntu/.virtualenvs/webcassette/local/lib/python2.7/site-packages/imagekit/cachefiles/backends.py", line...
Using Django 1.7.4 and Python 3.4, the following settings are not recognized by default: ``` IMAGEKIT_DEFAULT_CACHEFILE_BACKEND IMAGEKIT_CACHEFILE_NAMER IMAGEKIT_CACHEFILE_DIR IMAGEKIT_DEFAULT_FILE_STORAGE IMAGEKIT_CACHE_PREFIX IMAGEKIT_USE_MEMCACHED_SAFE_CACHE_KEY IMAGEKIT_CACHE_BACKEND ```
Hello. I came across a problem with imagekit. I see a lot of warnings in Sentry from _generate method of ImageCacheFile - **"The storage backend %s did not save the...
Say, i have ImageFiled that stored URL in DB and file on hdd. ``` img = ProcessedImageField(storage=photo_fs, processors=[Transpose(Transpose.AUTO), ResizeToFit(1280, 960, False), ResizeCanvas(1280, 960, anchor=Anchor.CENTER) ], format='JPEG', options={'quality': 75}) ``` how...
Using Django 1.7.4 and Python 3.4, this model and field definition: ``` class Profile(models.Model): image = ProcessedImageField('Profile Image', upload_to=get_profile_upload_to, blank=True, null=True, processors=[ResizeToFill(200, 200)], format='JPEG', options={'quality': 60}) ``` Throws: `TypeError: __init__()...
In my model I have a primary image and some optional ones: ``` foto = ProcessedImageField(upload_to=update_filename, processors=[ResizeToFit(800, 600,upscale=False)], format='JPEG', options={'quality': 80} ) foto2 = ProcessedImageField(upload_to="photos/%Y/%m/%d/", help_text="Optional foto", processors=[ResizeToFit(800, 600,upscale=False)], format='JPEG',...
Hi, I've been having issues uploading larger files into my application and started reading `django-storages` source code to validate if it was using the multipart upload capability of S3, and...
I did some adjustments to watermark.py and now is working with django-imagekit 3.2.6 [Here is the gist](https://gist.github.com/edgartaor/25fbe8f030940fce4a6a)
Hi. I've decided to clarify this aspect of imagekit usage. As far as I can see its not well described in docs. To begin with, let's assume that we already...