mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-03-16 21:30:23 +00:00
Merge pull request #215 from saulshanabrook/patch-5
pass in upscale keyword to thumbnail template tag
This commit is contained in:
commit
80008aee11
1 changed files with 2 additions and 2 deletions
|
|
@ -4,9 +4,9 @@ from .specs import ImageSpec
|
|||
|
||||
|
||||
class Thumbnail(ImageSpec):
|
||||
def __init__(self, width=None, height=None, anchor=None, crop=None, **kwargs):
|
||||
def __init__(self, width=None, height=None, anchor=None, crop=None, upscale=None, **kwargs):
|
||||
self.processors = [ThumbnailProcessor(width, height, anchor=anchor,
|
||||
crop=crop)]
|
||||
crop=crop, upscale=upscale)]
|
||||
super(Thumbnail, self).__init__(**kwargs)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue