Hi!
I've run into trouble using the ImageField of plone.app.blob. It seems that it does not support image sizes, or at least I cannot access it via an URL in the browser. I'm using following code (incomplete snippet):
from plone.app.blob.field import ImageField as BlobImageField
MyTypeSchema = folder.ATFolderSchema.copy() + atapi.Schema((
BlobImageField(
'myimage',
languageIndependent=True,
storage=atapi.AttributeStorage(),
widget=atapi.ImageWidget(
label=_(u"Image"),
),
sizes={
'icon' : (32,32),
'mini' : (64,64),
'small' : (128,128),
'preview' : (256,256),
'medium' : (512,512),
'banner' : (1024,1024),
'original' : (1024,1024),
},
original_size=(1024,1024),
pil_quality=90,
required=True,
validators=('isNonEmptyFile'),
),
))