On Wednesday, August 24, 2011 8:29:11 AM UTC-4, Richard wrote:
>
> <p> Here is the R output via a tmp png file 
> <object src="/tmp/rweb2output.png"> obj text </OBJECT> 
> </p> 
>
Since src is a relative url, it will end up being 
http://127.0.0.1:8000/tmp/rweb2output.png (assuming you're running on your 
local machine on the default port). Instead, put the file inside your 
application's 'static' folder (you can create a 'tmp' subfolder in there), 
and use src="{{=URL('static','tmp/rweb2output.png')}}". Also, use an <img> 
tag instead of <object>.
Anthony 

Reply via email to