You seem to be trying to embed an image directly into an HTTP template? This isn't going to work. Your html needs an <img> tag, with the URL pointing somewhere that returns the image data (which can itself be a URL in your application that creates the image dynamically).
On Oct 25, 6:35 pm, MichaelT <[email protected]> wrote: > I can save and display the images if I use the method used here: > > http://code.google.com/appengine/docs/python/images/usingimages.html > > And I see that the img shows up when the img src= uses the img_id. All > works fine. > > But how do i get that img id into the django template? The template > doesn't know anything about > > db.get(self.request.get(greeting.key()) > > For learning I am updating the helloworld application demo. > > I just need to be able to show the image using the django template and > not have to do the > > self.response.out.write manually. > > Thanks for any help. > > Sorry if this is a double post - my first never showed up. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
