On 8/15/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I'd like to write some web gallery software from scratch for my girlfriend. 
> I've looked at the > PIL (python imaging library) and I'm using it to 
> generate thumbnails from given images.
> Something else i'd like to get done now though, is building an index of 
> images.
>
> Are there any libs suited for this? basically I want an text index of images, 
> which 
> contains the main image name, the thumbnail name, and a description. a new 
> image can > be added to the index either by adding it via ftp, or through an 
> html upload form with the  > comment in the form.
> 
> So basically, i'm after advice on indexes.
> 
> thanks for reading,
> Paul
> 

You may find this useful: http://freshmeat.net/projects/python-exif/

I think you need to write a script, cgi or otherwise, which will read
a particular directory to create your index, including:

imagedir = 'path'

import os 
for item in os.listdir(imagedir):
    #grab some info about the image.


Luis.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to