addImage and manage_addImage problem
Hi there, I am trying to make a picture gallery management webpage using zope and I have some questions. I am trying to write something that people can upload their images and annotate them as they are uploading them. In the beginning I used the function manage_addImage(...) to upload the image of user. But I found that if I can use the addImage(...) function to upload the images, the users can have more options of their annotations. For example, users can annotate their own descriptions, unlike the manage_addImage(...) functions only take the arguments of the title and the file. I was trying to find out what kind of objects can use the function addImage(...) instead of manage_addImage(...)? Because I have tried the ZCatalog and ZPhotoblbum objects and it gives me an "attribute error" when I use addImage function. But manage_addImage(...) function works for all the objects. By the way, the manage_addImage function is in the Image.py module in OFS folder, and the addImage function is in the Image.py module in CMFDefault folder. Please give me some suggestions. Thank you. Scott,
On Mon, 15 Oct 2001, Scott Kuei wrote:
I am trying to make a picture gallery management webpage using zope and I have some questions.
It may not suit your needs exactly, but I've found Ron's Photo product extremely useful. Search for "Photo" at zope.org. (Note: there's an older, unsupported Photo product. Make sure you grab the one from rbickers.) -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | http://www.isd197.org | http://www.zope.com W. St. Paul, MN | | http://slashdot.org wilson@visi.com | <dtml-var pithy_quote> | http://linux.com
participants (2)
-
Scott Kuei -
Timothy Wilson