[Zope] "Picture of the day" product

Timothy Wilson wilson@visi.com
Thu, 18 Jan 2001 13:03:36 -0600 (CST)


On Thu, 18 Jan 2001, Tres Seaver wrote:

> > > This kind of thing is a "query-on-metadata" application;  I
> > > would put all these images into a single folder (maybe
> > > chunked into subfolders by month?), mark them each with an
> > > 'effective' property (of type 'Date'), and then select the
> > > appropriate image via a catalog query, e.g.::
> > > 
> > >   <dtml-in "Catalog( meta_type='Image'
> > -- rest of example snipped --

Another followup: How 'bout using PIL to generate the thumbnail version that
displays on the homepage as link to the fullsize picture and the
archives? Would this be a logical place to begin experimenting with 2.3.0's
new caching mechanism? Comments?

-Tim

--
Tim Wilson      | Visit Sibley online:         | Check out:
Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/
W. St. Paul, MN |                              | http://slashdot.org/
wilson@visi.com |   <dtml-var pithy_quote>     | http://linux.com/