Reputation: 1011
I am not running Django on AppEngine. I just want to use AppEngine as a content delivery network, basically a place I can host and serve images for free. It's for a personal side project.
The situation is this: I have the URL of an image hosted on another server/provider. Instead of hotlinking to that image its better to save it on AppEngine and serve it from there - this applies mostly for thumbnails.
My questions are these:
Upvotes: 1
Views: 279
Reputation: 2610
In my application, i use a third part server to upload a picture more than 1Mega into GAE.
So, for that; The formulaire posts all data into the third part server. The server resizes the image and repost it to GAE.
I use a pattern iframe for the userfriendly.
The sourcecode is on github http://github.com/sahid/up2gae maybe you can you inspired by them.
Upvotes: 1
Reputation: 7213
Afaik you can not store files in App Engine programmatically. You can just store them, when uploading your app.
You can however store information in its data store. So you would need to deploy an app, that authenticates your user and then writs the image to the gae's data store
Upvotes: 1