mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-04-13 09:41:00 +00:00
Merge pull request #18 from bchhun/develop
Minor Readme file modification
This commit is contained in:
commit
1f882d6fa6
1 changed files with 2 additions and 0 deletions
|
|
@ -67,12 +67,14 @@ Create your specifications.
|
|||
|
||||
# now we can define our thumbnail spec
|
||||
class Thumbnail(ImageSpec):
|
||||
quality = 90 // defaults to 70
|
||||
access_as = 'thumbnail_image'
|
||||
pre_cache = True
|
||||
processors = [ResizeThumb, EnchanceThumb]
|
||||
|
||||
# and our display spec
|
||||
class Display(ImageSpec):
|
||||
quality = 90 // defaults to 70
|
||||
increment_count = True
|
||||
processors = [ResizeDisplay]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue