Generate a HTML file with IMG tags? Any HTML tutorial should teach you how to do that, and you don't really need more than the "print" statement to generate the file in Python.
I'm pretty sure flickr can provide you with URL:s for the thumbnail versions they've already created (you're using their API, right?), but if you need to do local processing, use Image.open(urllib.urlopen(...)) to get a PIL image object, do what you need to do to the image, and save it to a local file. Then generate a HTML file that points to the local files instead of the flickr URL:s. </F> On Wed, Nov 18, 2009 at 3:41 PM, Dinesh B Vadhia <dineshbvad...@hotmail.com> wrote: > My Python program generates urls to images on the web (flickr in this case) > eg. > > http://farm3.static.flickr.com/2054/2303499779_9d3de1e838_m.jpg > http://farm3.static.flickr.com/2149/2328692615_5b285f6556_m.jpg > http://farm3.static.flickr.com/2225/2506707027_b7b8d9782a_m.jpg > http://farm1.static.flickr.com/33/70092693_157e05bcd5_m.jpg > http://farm1.static.flickr.com/137/390105952_ed7febc823_m.jpg > http://farm1.static.flickr.com/60/211356465_eff94c2d59_m.jpg > http://farm1.static.flickr.com/11/13072294_0f2369024c_m.jpg > http://farm1.static.flickr.com/96/264201591_47b5d22bf4_m.jpg > http://farm1.static.flickr.com/145/425383366_a794d9e850_m.jpg > For testing purposes, I want to display the images in 3x3 thumbnail on an > empty web page. How can I do this quickly? > > Dinesh > _______________________________________________ > Image-SIG maillist - image-...@python.org > http://mail.python.org/mailman/listinfo/image-sig > > _______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig