[Zope] ZClass inheriting from image question
Kapil Thangavelu
kthangavelu@earthlink.net
Thu, 10 Aug 2000 09:31:49 -0700
Meeting Maker Webmaster wrote:
>
> Hello,
>
> I am still working on my "users preferences" I mentioned earlier. For now I
> will stay with the standard acl_users as they seem to offer everything I
> currently need to authenticate the user. On the other side, I am creating a
> new ZClass that will be used to store the user information in properties.
> As I finally also want to store the picture of the user, I decided to
> create ZClass that will subclass _ZClass_for_Image.
>
> I want to change the default way the ZClass renders it's information. I
> want more than simply a picture so I crated a new method "index_html" in my
> ZClass.
>
> My question is: How do I display the picture from this index_html method?
from the Image.py file
<dtml-var tag> should do it
Cheers
Kapil