this works
controller:
def image():
    return dict(a=IMG(_src=URL('myimage'+'.png')))
view:
{{extend 'layout.html'}}
<h1>This is the graph/image.html template</h1>
{{=a}}

but this doesn't
controller:
def image():
    return myimage()
view:
{{extend 'layout.html'}}
<h1>This is the graph/slika1.html template</h1>
{{=IMG(_src=URL('myimage'+'.png'))}}


Reply via email to