On Jun 3, 2005, at 3:28 PM, Stephan Richter wrote:
On Saturday 14 May 2005 14:21, [EMAIL PROTECTED] wrote:
A direction to a working example would be very much appreciated.
Playing
with Z3 is nice, but it is much harder than Z2 when it comes to
getting
where I want. But, I'm not giving up!
I think the books are as much direction as we can give you without
having a
traceback of what's going wrong. I would also like to see the
interfaces.
Hey everyone, I'm having similar trouble with a content object that
contains an image. Thee pertinent part of my schema is this:
image_file = Bytes(
title=u"Image",
description=u"Upload an associated image here",
required=False)
My problem is that I haven't figured out how to point to this image, as
it is part of the content object itself. Ideally, I would like to be
able to refer to it in a ZPT via a URL. Something on the order of
<img tal:attributes="src string:${context/@@absolute_url}/image_file" />
Any ideas or code to which I could be pointed?
Thanks!
Duncan
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users