try replacing: <img src="images/img17.jpg" alt="" width="90" height="90" />
with:
<img src="{{=URL(r=request, c='static', f='plugin_layouts/layouts/
Optimism/images/img17.jpg')}}" alt="" width="90" height="90" />
what that does is use the web2py URL method to build a routes-aware URL and
will make a proper URL for your image.
note that i assume that your image is in this directory:
../<appname>/static/plugin_layouts/layouts/Optimism/images/img17.jpg
good luck!
cfh

