In the dynamically serving images section
http://code.google.com/appengine/docs/python/images/usingimages.html#Serving
the documentation says:

> In the Image Handler we get the img_id
> from the request. We'll need to update the HTML
> of the Guestbook to pass the key of the greeting
> to the Image handler...

But the following code

self.response.out.write("<div><img src='img?img_id=%s'></img>" %
                              greeting.key())
self.response.out.write(' %s</div>' %
                              cgi.escape(greeting.content))

goes into MainHandler not the Guestbook Handler.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to