[Zope-CMF] Photo Album which keeps images outside ZODB?

Jean Jordaan jean@upfrontsystems.co.za
Fri, 30 May 2003 14:29:08 +0200

> O.K. is it also possible to 'upload' multiple files in one shot?

You can use something like the commandline tool curl. The syntax is
something like:

   curl --user name:password --data id=someid --data file=@file.jpg 

but that's from memory and almost certainly faulty. To upload many,
in bash:

  for f in `ls *.jpg` ; do curl [...] id=$f [...] file=@$f ; done

There are many other ways .. maybe FTP or DAV uploading to a Photo
Folder works too .. dunno offhand.

> And how are the thumbnails created? Are they uploaded or are they also
> generated in the file system.

They're generated by the Photo product using either ImageMagick
or PIL.

> I should try that ;-)

Yes, always the best :]

Jean Jordaan