Hi there

If you are not interested in uploading images to datastore out of code, you
can stop reading now.

Let's assume you would like to store an image into blobstore on Google
AppEngine in Python like this:

key = blobstore_image.uploadImage(open("test.png", "rb").read())


and then serve it like this:

self.response.out.write("<img src='" +
blobstore_image.getServingUrl(key) + "'>")


Well, with the normal API, that's not easily possible.

However, I created exactly this API. :)

See here:
http://devblog.miumeet.com/2011/02/programmatically-upload-images-to.html

Cheers,
-Andrin

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

Reply via email to