i am using google app engine with django to make a small application that it has these features
- upload images ,
- show images ,
- minipulate images (rotate)
well after finishing part 1 , now i am somewhere stuck in part 2 where i need to show images.
i did everything i retrieved the image keys, but the images are not showing.
only the titles of the images i saved in the datastore.
here is my code:
<ul>
{% for image in image.all %}
<li>{{ image.title }} </li>
<li> <img src="/pictures/models.{{image.key}}"/> </li>
{% endfor %}
</ul>
Assuming
/pictures/models\.(.*)/Then you’d do something like
which is straight out of http://code.google.com/appengine/docs/python/blobstore/overview.html#Serving_a_Blob