Hi, Put this on your app.yaml handlers: - url: /static static_dir: static
after that, create a folder called static on your documentroot and put the images and static files there. then on your aplication you call the image using the static folder: static/image.img The app.yml control the handlers for your app. One hint, AFAIK the parser read the yml file in order serving the first match. (Don't paste the code below -url: .*) Cheers -- Leon Waldman SysAdmin Linux - Arquiteto de Infra-Estrutura & TI. On Tue, Aug 4, 2009 at 5:16 PM, ketter <[email protected]> wrote: > > Thanks for the answer... but I start programming on python only few > days ago and I dont understand very well how do that you say. > > > On 3 ago, 18:09, Malinka Rellikwodahs <[email protected]> wrote: > > On Mon, Aug 3, 2009 at 16:16, ketter<[email protected]> wrote: > > > > > Hi > > > > > I need show images from the App Engine datadase in templates .html > > > > I haven't looked over your code and don't have any sample code > > available atm. however what you probably need to do is have a url > > hanlder for returning just the image, and then a different one for the > > html page which includes then has a typical img tag for the image url. > > and you can test by hitting a browser to the image url and should get > > just the image in your browser > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
