Gorka Olaizola wrote: > On Tue, Dec 04, 2007 at 07:16:50PM +0000, John Molohan wrote: > >> I've modified web_types' openfoto function so that it now returns a >> rescaled width and height for the image passed. How can I read these >> back into variables in library.rpy so that I can then use them as >> parameters for a link for slimbox? >> >> > You can't pass javascript variables to the code that generates the page. > Javascript is executed in the web browser after the server has processed the > .rpy , generated the html code and sent it. > > If you need the width and height of the image at the server you need to > parse it with python in the .rpy > That makes sense :-[ I'll try plod my way though in library.rpy if I get some time.
John ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel