[Zope3-Users] schema field for an Image?
srichter at cosmos.phy.tufts.edu
Mon Jan 8 03:41:04 EST 2007
On Wednesday 06 December 2006 11:07, Adam Summers wrote:
> If I wanted to use formlib to build the form, and wanted to build a HTML
> widget for the image field that had a
> file input for uploading, and if img already had content woudl display a
> thumbnail; how would I go about this? I'm afraid I'm lost because its
> schema.Object that the widget would apply to (but I'm not sure).
There is a z3c.widget.image (correct location?) ImageWidget that does probably
what you want. It is based on the z3c.sessionwidget package.
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
More information about the Zope3-users