I have an django installation with the plugins django-image-cropping and easy-thumbnails in use.
I want to add users pictures to there vCard using vObject.
models.py:
(...)
class Person(TranslatableModel):
(...)
pic = ImageCropField(_(u"profile picture"),
blank=True,
null=True,
upload_to=settings.USER_PICTURE_DIR,
)
picture_cropped = ImageRatioField(
'pic',
'{}x{}'.format(*settings.USER_PICTURE_SIZE)
)
(...)
So far all I can find about this topic is, how to get an URL to the original Picture, but I don't know how to get the cropped Picture nor do I know how to get the Picture itself and not an URL nor a pseudo-file-type.