You might try using SQLFORM's col3 parameter. It comes in handy for
me.

On Dec 28, 3:42 pm, Peter <peter.kleyn...@gmail.com> wrote:
> I need to display a form with images inline, ie with <img> tags. The
> default behavior for SQLFORM is to only show a <file> link on the form
> (assuming I provide a download URL in the constructor, which I do).
>
> What's the best way to do this -- if at all? Again, I have difficulty
> "breaking into" the SQLFORM object... Am I doomed to write my own
> upload logic?
>
> BTW, I would really appreciate a more formal API for SQLFORM that is
> more geared towards using it piecemeal rather than the single
> {{=form}}, which is suitable less than half of my current
> application's forms. Ideally, any magic that SQLFORM provides should
> be exposed in a lower-level API as well...
>
> Note: I'm not a hardcore Pythonhead, more the type of "enterprise"
> developer that I think Massimo seems to have had in mind when he
> called web2py a "enterprise" framework. ;-) I thought I would be able
> to get going quickly with SQLFORM and T2 CRUD, but so far, it's been a
> bit of an uphill battle, I'm afraid... All the more frustrating
> because I think it's very very close to what I need.
>
> Cheers,
> -Peter
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to