mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-03-16 21:30:23 +00:00
commit
acefa913f9
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ for getting this information.
|
|||
@property
|
||||
def processors(self):
|
||||
model, field_name = get_field_info(self.source)
|
||||
return [ResizeToFill(model.thumbnail_width, thumbnail.avatar_height)]
|
||||
return [ResizeToFill(model.thumbnail_width, model.thumbnail_height)]
|
||||
|
||||
register.generator('myapp:profile:avatar_thumbnail', AvatarThumbnail)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue