Re: [Zope] random object with properties

2000-11-22 Thread Dieter Maurer
Kevin Worth writes: > > > > > > > > > > > > > > This does not work with a "Photo" from the ZPhoto product. Anyone > know why? It grabs the caption from the folder containing the Photo > (which I created for testing this) If I use the standard "Image" it > works beautifully

Re: [Zope] random object with properties

2000-11-22 Thread Kevin Worth
At 11:21 PM +0100 11/21/00, Dieter Maurer wrote: >Kevin Worth writes: > > I'm trying to find/write a method that will choose a random image > > from a folder (easy, using the random how-to) But I also want to > > display the caption for the image, which is a property of that image. > > > > T

Re: [Zope] random object with properties

2000-11-21 Thread Dieter Maurer
Kevin Worth writes: > I'm trying to find/write a method that will choose a random image > from a folder (easy, using the random how-to) But I also want to > display the caption for the image, which is a property of that image. > > This method: > > > > > presents me with a random

Re: [Zope] random object with properties

2000-11-21 Thread Steve Spicklemire
Hmm.. How about something like: -steve ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http:

Re: [Zope] random object with properties

2000-11-21 Thread Andy McKay
ECTED]> Sent: Tuesday, November 21, 2000 12:14 PM Subject: Re: [Zope] random object with properties > You have to actually get the image to display its caption (untested) > > > > > > > -- > Andy McKay, Developer. > ActiveState. > - Original Mes

Re: [Zope] random object with properties

2000-11-21 Thread Morten W. Petersen
[Kevin Worth] | | [,..] | What am I missing here? Maybe this will work: HTH. -Morten ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or

Re: [Zope] random object with properties

2000-11-21 Thread Andy McKay
You have to actually get the image to display its caption (untested) -- Andy McKay, Developer. ActiveState. - Original Message - From: "Kevin Worth" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 21, 2000 11:57 AM Subject: [Zope] random object with propertie