+ null=True, blank=True,
+ upload_to=lambda i, n: 'book/cover/%s.jpg' % i.slug,
+ storage=bofh_storage, max_length=255)
+ # Cleaner version of cover for thumbs
+ cover_thumb = EbookField('cover_thumb', _('cover thumbnail'),
+ null=True, blank=True,
+ upload_to=lambda i, n: 'book/cover_thumb/%s.jpg' % i.slug,
+ max_length=255)