django-ajaximage
django-ajaximage copied to clipboard
Upload images via ajax. Images are optionally resized.
Like the Imagefield it replaces, upload_to could take a callable so that we can easily use directory names or filenames that contain the pk of the model.
I want to use multiple widgets but when I pass more than one AjaxImageUploadForm into my template their input names have the same value ( ). I checked your widgets.py...
These small hacks will allow ajaximage to work with Django 1.4
This line throws error with django 1.4 https://github.com/bradleyg/django-ajaximage/blob/master/ajaximage/fields.py#L34 This is resolved for example here: https://github.com/estuans/django-ajaximage/commit/fbf9f33305cb42b7e7853db65e68fcd038c41cdf by removing the 3rd parameter from call to super(AjaxImageField, self).contribute_to_class(cls, name, virtual_only) If there is...
I've tried to upload an image three times and now there are three copies of it in the media folder.
Hi when i syncdb i get error: ajaximage\fields.py", line 34, in contribute_to_class super(AjaxImageField, self).contribute_to_class(cls, name, virtual_only) TypeError: Error when calling the metaclass bases contribute_to_class() takes exactly 3 arguments (4 given)...