> -----Oorspronkelijk bericht-----
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens Michiel Meeuwissen
> Verzonden: dinsdag 11 januari 2005 16:22
> Aan: [email protected]
> Onderwerp: Re: [Developers] image thumbnails in the wizard list items
> 
> 
> Ernst Bunders wrote:
> > hello
> > is it possible to show a thumbnail of an image as a field 
> in a list - 
> > item structure? something like, only this shows nothing for 'handle'
> > 
> > <list role="posrel" destination="images" minoccurs="1"> 
> >    <title>Voeg een plaatje aan dit site onderdeel toe</title>
> >    <item>
> >       <field ftype="data" name="title" />
> >       <field ftype="data" name="handle" />
> >       <field ftype="startwizard" 
> wizardname="config/images/images" />
> >    </item>
> > 
> > regards, ernst
> 
> IIRC you could add 'displaytype="image"' to the <item tag.
> 
> It surprizes me a bit that that would still be essential, 
> because indeed it would make little sense not display the 
> image if you request to show the handle field. 
> 
> Anyhow you could give it a try, and issue a bugreport about 
> it if that indeed fixes the problem. Because I agree that it 
> is a bit silly, that you need to specifiy it on the item.
> 
> Does it work outside a list? Also with ftype="data"?
> 
> Michiel

I discovered that if i use

<list role="posrel" destination="images" minoccurs="1"
orderby="[EMAIL PROTECTED]'pos']" ordertype="number"> 
   <title>Voeg een plaatje aan dit site onderdeel toe</title>
   <item displaytype="image">
      <field name="handle"/>

and omit  the ftype attribute it works, so i guess that is ok.
thanks anyway

Ernst

> 
> 
> -- 
> Michiel Meeuwissen                  mihxil'
> Mediacentrum 140 H'sum                [] ()
> +31 (0)35 6772979         nl_NL eo_XX en_US
> 
> 
> 
> _______________________________________________
> Developers mailing list
> [email protected] 
> http://lists.mmbase.org/mailman/listinfo/developers
> 
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to