Help on creating a HTML by python
Jarek Zgoda
jzgoda at gazeta.usun.pl
Mon Nov 29 17:06:05 EST 2004
sepgy wrote:
> Can anyone help me to use a python to create an HTML photo gallery
> generator. When it's finished, it will be able find all the picture
> files (i.e. .jpg, .gif. .png files) in any given folder on the
> computer, automatically create smaller thumbnails for each image, and
> then generate a complete HTML file that displays a clickable image
> gallery. When viewed in a web browser, the HTML file will display the
> thumbnails in a neatly formatted table, and if you click on one of the
> thumbnails the full-size image will appear.
Once I had similar idea -- I planned to use PIL for generating
thumbnails and some templating/transformation library for generating
HTML. It all ended up with HTMLTemplate
(http://freespace.virgin.net/hamish.sanderson/htmltemplate.html), as it
is simple and compact.
--
Jarek Zgoda
http://jpa.berlios.de/ | http://www.zgodowie.org/
More information about the Python-list
mailing list