Hello,

I'm using the photo-product, when one has created a photo-instance "image"
you can render this like so:

<dtml-var "image(display='thumbnail')">

now I wanted to loop over all photos in a folder "Images" and did:

<dtml-with Images>
<dtml-in "objectItems('Photo')">
<dtml-call "REQUEST.set('bild',_['sequence-item'])">
<dtml-var bild><br>
</dtml-in>
</dtml-with>

that displays all photos in their original size, but

<dtml-var "bild(display='thumbnail')"> 

gives:

Error Type: TypeError
Error Value: call of non-function (type string)

how can I call a sequence-item ?


Mit freundlichen Grüßen

Joachim Schmitz  

          
AixtraWare, Ing. Büro für Internetanwendungen
Hüsgenstr. 33a, D-52457 Aldenhoven  
Telefon: +49-2464-8851, FAX: +49-2464-905163


_______________________________________________
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://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to