开发者

Post an image from code to Blobstore on appengine?

开发者 https://www.devze.com 2023-01-27 06:27 出处:网络
I am trying to post an image which I am downloading using URLFetch() to the blobstore. Basically, for any given youtube video, i am first fetching the thumbnail from youtube\'s site and then I want t

I am trying to post an image which I am downloading using URLFetch() to the blobstore.

Basically, for any given youtube video, i am first fetching the thumbnail from youtube's site and then I want to store it in the blobstore ...

can anyone help me with this?

I am using the poster moduler for the form multi=part stuff as detailed on the last comment of this post

http://code.google.com/p/googleappengin开发者_运维技巧e/issues/detail?id=627


You don't need to use the blobstore to store such a small image. Just store it as a BlobProperty on a regular datastore model, and serve it up from there.

0

精彩评论

暂无评论...
验证码 换一张
取 消