Tagged Questions
0
votes
1answer
48 views
Processing image from the blob GAE
I managed to store a picture in the Google App engine blob (I can see it in the Blob Viewer from the dashboard, and also in my app using a serving handler)..
However, now that i have this picture ...
6
votes
2answers
5k views
How to insert / retrieve a file stored as a BLOB in a MySQL db using python
I want to write a python script that populates a database with some information. One of the columns in my table is a BLOB that I would like to save a file to for each entry.
How can I read the file ...
4
votes
2answers
1k views
GAE: How to get the blob-image height
Given is the follwing model on GAE:
avatar = db.BlobProperty()
By calling the image instance properties height or width (see documentation) with:
height = profile.avatar.height
the following ...
3
votes
2answers
647 views
Tipfy: How to display blob in template?
Given is on gae using tipfy (python) the following model:
greeting.avatar = db.Blob(avatar)
What is the template-tag to display a blob (here image)?
4
votes
3answers
807 views
Displaying Blob Images in Python (App Engine)
This is making me go crazy. I've read all the online tutorials and haven't been able to get the image to display on the page. I can store it just fine.
These are the handlers:
class ...
3
votes
3answers
3k views
Insert binary file in SQLite database with Python
I trying to write a simple Python script that inserts .odt documents into an SQLite database. Here what I have so far, but it doesn't seem to work:
f=open('Loremipsum.odt', 'rb')
k=f.read()
f.close()
...
2
votes
2answers
644 views
Compress GAE Blob images using Python Base64?
I'm pulling a JSON request of 20 random thumbnails to an iPhone application. At the moment I'm simply including the image thumb URLs in the JSON array (see below), then the iPhone goes out to get each ...