[Zope-CMF] Re: [dev] newstyle content creation

Charlie Clark charlie at begeistert.org
Fri Apr 25 12:55:36 EDT 2008


Am 23.04.2008 um 11:27 schrieb Wichert Akkerman:

>>
>> BTW. regarding formlib I've been bashing my head (checkout those
>> bruises!) for weeks on how to add a thumbnail of an existing image to
>> an edit form. Do I need to develop a special widget which will call
>> the appropriate method?
>
> Perhaps collective.namedfile has a suitable widget.


Couldn't find anything but I've come up with something that works in  
the meantime. I suspect this is fundamentally wrong but it's the best  
I can up with

<img tal:attributes="src string:${context/context/absolute_url}" />

Is this okay or am I likely to get bitten by aquisition or something  
equally nasty?!

Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226





More information about the Zope-CMF mailing list