hi,
i would do the follow:
1) in model use compute to create image form base64 string:
db.define_table('user_images',
Field('my_image', 'upload', label=T('My Image'), compute=lambda r:
create_image_from_base64_str(r.my_image_b64)),
Field('my_image_b64', 'text')
)
def create_image_from_b
Any answer? I have the very same need.
Thanks
Ari
Em segunda-feira, 2 de dezembro de 2013 14h02min30s UTC-2, Michael Hall
escreveu:
>
> If I have the following model:
>
> db.define_table('user_images',
> Field('my_image', 'upload',
> label=T('My Image')),
> )
>
> and In my rendere
2 matches
Mail list logo