Oh, it looks like I need to do:

SQLFORM(..., upload = URL('default', 'download'))


Marin

Dana utorak, 5. ožujka 2013. 13:58:30 UTC+1, korisnik Marin Pranjić napisao 
je:
>
> Hello,
>
> I just noticed that Field('image', 'upload') doesn't display the same way 
> with crud.update / SQLFORM.
>
> When you try to edit record using crud.update, you get an image preview if 
> it is uploaded already.
> With SQLFORM, there is no preview.
>
> I wonder if this is intentional or a bug?
> How can I use it with SQLFORM, should I create a custom widget?
>
> Regards,
> Marin
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to