Figured out the verbose_name_plural stuff.
author |
Steve Losh <steve@stevelosh.com> |
date |
Sat, 14 Feb 2009 11:45:32 -0500 |
parents |
1f2356294a8e |
children |
444fa384fab8 |
from imagekit.specs import ImageSpec
from imagekit import processors
class ResizeThumb(processors.Resize):
width = 100
height = 100
class ResizeDisplay(processors.Resize):
width = 550
class EnchanceThumb(processors.Adjustment):
contrast = 1.2
sharpness = 1.1
class Thumbnail(ImageSpec):
access_as = 'thumbnail'
pre_cache = True
processors = [ResizeThumb, EnchanceThumb]
class Display(ImageSpec):
increment_count = True
processors = [ResizeDisplay]