Duncan McGreggor wrote:
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?

You could make the content object traversable, so you could do http://path_to_object/image_file.
Benji York
Senior Software Engineer
Zope Corporation
Zope3-users mailing list

Reply via email to