Re: [web2py] Re: Dynamically created png in HTML

2011-08-24 Thread Richard Dijkstra
Richard, Anthony, You have sent me in the right direction; it works :) Richard Op 24-8-2011 18:09, Richard Vézina schreef: Try this : URL('static','SUBFOLDER/FILENAME') Richard On Wed, Aug 24, 2011 at 11:55 AM, Richard Dijkstra mailto:richard.dijks...@planet.nl>> wrote: Anthony, Rich

Re: [web2py] Re: Dynamically created png in HTML

2011-08-24 Thread Anthony
On Wednesday, August 24, 2011 11:55:56 AM UTC-4, Richard wrote: > > Anthony, Richard, > > Thank you for the feedback. > > Getting the png file from the static area could be done, and how do I get > the dynamically create file in that static area? > What would the output path be in : > >

Re: [web2py] Re: Dynamically created png in HTML

2011-08-24 Thread Richard Vézina
file=URL('static','SUBFOLDER/FILENAME') On Wed, Aug 24, 2011 at 12:09 PM, Richard Vézina < ml.richard.vez...@gmail.com> wrote: > Try this : URL('static','SUBFOLDER/FILENAME') > > Richard > > > On Wed, Aug 24, 2011 at 11:55 AM, Richard Dijkstra < > richard.dijks...@planet.nl> wrote: > >> Anthony,

Re: [web2py] Re: Dynamically created png in HTML

2011-08-24 Thread Richard Vézina
Try this : URL('static','SUBFOLDER/FILENAME') Richard On Wed, Aug 24, 2011 at 11:55 AM, Richard Dijkstra < richard.dijks...@planet.nl> wrote: > Anthony, Richard, > > Thank you for the feedback. > > Getting the png file from the static area could be done, and how do I get > the dynamically creat

Re: [web2py] Re: Dynamically created png in HTML

2011-08-24 Thread Richard Dijkstra
Anthony, Richard, Thank you for the feedback. Getting the png file from the static area could be done, and how do I get the dynamically create file in that static area? What would the output path be in : grdevices.png(file="/tmp/rweb2output.png" , width=512, height=512) Richard Op 24-8

[web2py] Re: Dynamically created png in HTML

2011-08-24 Thread Anthony
On Wednesday, August 24, 2011 8:29:11 AM UTC-4, Richard wrote: > > Here is the R output via a tmp png file > obj text > > 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