are you storing your images in the datastore or in blobstore, or in google
cloud storage? if blobstore you can use
https://developers.google.com/appengine/docs/python/images/functions#Image_get_serving_url
to store a URL that serves it directly from blobstore.
cfh
On Monday, April 28, 2014 3:28:24 PM UTC-7, St. Pirsch wrote:
>
> Hi,
> i am trying to find an efficient way to display images uploaded to GAE.
> Currently, im using the download action:
> * background-image: url({{=URL('download',
> args=line.contents.vorschaubild)}});*
> Since there are a lot images to display, there should be a less power
> consuming way to get the image files.
> Is it possible to let GAE directly serve the images, without the web2py
> download action, like it works for static files?
> Or is it possible to cache the output of the download action?
> Thanks for Your help.
> Stephan
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.