On Thu, Sep 18, 2008 at 08:22:37AM +0200, Nico Grubert wrote:
> > > The renders "".
> > > How can I show the image?
>
> > Call its tag method.
>
> >
>
>
> Hi Paul,
>
> how is the susi going? ;-)
Ah, I sold mine years ago. Nowadays I mostly just play bass. And you? :)
> I tried but
> Instead of generating the image on the call to your ZPT you form an src="/some/url/that/makes/my/image?foo=bar&baz=bat"> e.g. in order to
> generate the right image.
Got it. The magic is not to call the external method by
container.createThumbnail() but use absolute URL to the external method.
> You can't do this
>
> What you need to do is associate the image with a URL so it gets
> generated when the browser processes the tag.. UNLESS it's very small
> in which case you can use the src="..." attribute to contain the data.
>
> So a PIL image should be returned by a script or exter
+---[ Nico Grubert ]--
| > > The renders "".
| > > How can I show the image?
|
| > Call its tag method.
|
| >
|
|
| Hi Paul,
|
| how is the susi going? ;-)
|
| I tried but I get the
| following error:
You can't do this
What you need to do is associate
> > The renders "".
> > How can I show the image?
> Call its tag method.
>
Hi Paul,
how is the susi going? ;-)
I tried but I get the
following error:
---
Exception Type TraversalError
Exception Value
On Wed, Sep 17, 2008 at 03:01:55PM +0200, Nico Grubert wrote:
> Hi there
>
> Is it possible to show several PIL.Image.Image instances in a Zope Page
> without creating a temporary Zope image object?
>
> I have an external method that creates a list of
> PIL.Image.Image instances, e.g.
>[,
>
Hi there
Is it possible to show several PIL.Image.Image instances in a Zope Page
without creating a temporary Zope image object?
I have an external method that creates a list of
PIL.Image.Image instances, e.g.
[,
]
How can I display all images in a Zope page template?
I tried