i have a trouble with displaying image stored in my local folder
</div>
{{for r in plot_list:}}
{{ if r.endswith('.html'):}}
<div class="plot_path" id ={{=plot_list.index(r)}} style = 'width:100%;
height:500px; display:none' >
{{=IFRAME(_src=r, _style = 'width:100%; height:100%; border: 0') }}
</div>
{{else:}}
<div class="plot_path" id ={{=plot_list.index(r)}} style = 'width:100%;
height:500px; display:none' >
{{=IMG(_src=r, _style = 'width:100%; height:100%; border: 0') }}
</div>
{{pass}}
{{pass}}
</div>
i can display the HTML files in the same folder but not the png file and
jpg file, please help
Thanks
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/web2py/3b305670-c79b-4155-8a1a-e72d7f0f9796%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.