Hi, I'm trying to integrate slimbox extended [1] into the image library of the webserver in rel-1. The problem is twofold, firstly I can't code regardless of language (I can just about monkey see monkey do code :) ) but the real problem is:
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? At the moment in library.rpy I have the this which is unchanged: fv.tableCell('<div class="image"><a href="javascript:openfoto(\''+\ urllib.quote(image_link)+\ '\','+str(size[0])+','+str(size[1])+')">'+ '<img src="'+scaled_image_link+'" /><br />'+Unicode(title)+'</a></div>', \ 'class="'+status+'" colspan="1"') This gives me the usual thumbnail link and when I click on it because of the mods to web_types' openfoto it doesn't open a new window with the image instead it just gets returned the width and height. I just need to know how to call this and read it in in the code in library.rpy without having to click on a link. Any one any pointers? John [http://homepage.mac.com/yukikun/software/slimbox_ex/] ------------------------------------------------------------------------- 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