On Jan 1, 2008 11:18 AM, Dinesh B Vadhia &lt;<a href="mailto:dineshbvadhia@hotmail.com">dineshbvadhia@hotmail.com</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">






<div bgcolor="#ffffff">
<div><font color="#000080">I want to display a fixed number of same-size (jpeg) 
images on a web page.&nbsp; The images displayed will change on user 
input.</font><br>&nbsp;</div></div></blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div bgcolor="#ffffff"><div><font color="#000080">
</font></div><div><font color="#000080">I can use PIL to write the code but has anyone come 
across open source code that already does this?&nbsp; Thank-you</font></div></div></blockquote><div><br>You only need PIL if you&#39;re creating the pictures with the python code. If you&#39;re merely choosing which pictures to display based on the input, you merely need to generate different HTML (or have a javascript page, and return different XML from your python backend).
<br><br>If you&#39;re really trying to avoid writing your own HTML out, the table example from GWT(<a href="http://gwt.google.com/samples/KitchenSink/KitchenSink.html#Panels">http://gwt.google.com/samples/KitchenSink/KitchenSink.html#Panels
</a>) will do what you&#39;re looking for. Pyjamas(<a href="http://code.google.com/p/pyjamas/">http://code.google.com/p/pyjamas/</a>)&nbsp; will generate GWT code from python for you.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --Michael<br><br></div></div>
-- <br>Michael Langford<br>Phone: 404-386-0495<br>Consulting: <a href="http://www.RowdyLabs.com">http://www.RowdyLabs.com</a>