Not sure if this is the direction you are looking to go but I have had great luck using
http://sorl-thumbnail.readthedocs.org/en/latest/examples.html You do your template cropping in the template, This does require you to setup a caching server. Hope this helps! On Thursday, April 4, 2013 2:44:31 PM UTC-7, leonardo wrote: > > Hi, > > I am using django-imagekit to crop images. > I have this model: > > *from imagekit.models import ImageSpecField* > *from imagekit.processors import Crop* > > *class Image(models.Model):* > * x1 = models.IntegerField(blank=True, default=0)* > * y1 = models.IntegerField(blank=True, default=0)* > * height = models.IntegerField(blank=True, default=0)* > * width = models.IntegerField(blank=True, default=0)* > * image_file = models.ImageField(upload_to='images/')* > * > * > * cropped_image = ImageSpecField(* > * [Crop(width=171, height=82, anchor=None, x=-224, y=-283)],* > * image_field='image_file',* > * format='JPEG', options={'quality': 90})* > > How can I use the object's attributes x1, y1, width and height as > parameters to Crop processor ? > > Regards, > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.

