I get an error on the following code:
{{=IMG(_src=URL(r=request,a='base',c='static',f='base/card/logos/' +
logo[0].link) _width="228px")}}
Traceback (most recent call last):
File "/Library/Python/2.5/site-packages/web2py_1.87.3/gluon/
restricted.py", line 186, in restricted
ccode = compile2(code,layer)
File "/Library/Python/2.5/site-packages/web2py_1.87.3/gluon/
restricted.py", line 173, in compile2
return compile(code.rstrip().replace('\r\n','\n')+'\n', layer,
'exec')
File "/Library/Python/2.5/site-packages/web2py_1.87.3/applications/
init/views/locator/businesscard.html", line 45
response.write(IMG(_src=URL(r=request,a='base',c='static',f='base/
card/logos/' + logo[0].link) _width="228px"))
SyntaxError: invalid syntax
The ^ sign is under the h of _width="228px"
Does one of you know the correct syntax?
Kind regards,
Annet.