Re: ImageField in Archetypes

Hanno Schulz <[email protected]>
Newsgroups gmane.comp.web.zope.german
Message-ID <[email protected]>
Oups, tschuldige.

Hab überlesen das es für den Plone 2.5.5 war.

Die tag Funktion des Zope Images (zope2/lib/python/OFS/Image.py) erwartet ein
float zum skalieren.
Warum du ein Zope Image bekommst ist mir nicht klar.

Hast du schon mal here.getBild1().tag(scale'preview') probiert?
Keine Ahnung ob das geht, hab schon lange kein 2.5.5 mehr programmiert.

Als alternative geht vielleicht
<img tal:attributes="href string:${here/absolute_url}/Bild1_preview" />

Hanno


Am 04.03.2010 18:59, schrieb Alwin M. Schronen:
> here.Bild1_preview geht auch nicht,
> oder meinst du
> here.Bild1.preview
> geht aber auch nicht
> 
> :-( 
> 
> Hanno Schulz schrieb:

-
Diese Information ist ausschliesslich fuer den Adressaten bestimmt und kann 
vertraulich oder gesetzlich geschuetzte Informationen enthalten. Wenn Sie nicht 
der bestimmungsgemaesse Adressat sind, unterrichten Sie bitte den Absender und 
vernichten Sie diese Mail.
Anderen als dem bestimmungsgemaessen Adressaten ist es untersagt, diese E-Mail 
weiterzuleiten oder ihren Inhalt auf welche Weise auch immer zu verwenden. Wir 
verwenden aktuelle Virenschutzprogramme und Content-Filter.
Fuer Schaeden, die dem Empfaenger gleichwohl durch von uns zugesandte mit Viren 
befallene E-Mails entstehen, schliessen wir jede Haftung aus.
-         
This e-mail and any attachments is confidential and solely intended for the 
indicated addressee. If you are not the intended recipient or an authorized 
person, please note, that any form of notice, disclosure, reproduction or 
circulation of the contents of this mail is prohibited. In this case, please 
immediately inform the sender of the e-mail an destroy this e-mail. We use 
updated antivirus protection software. We do not accept any responsibility for 
damages caused anyhow by viruses.
-
catWorkX GmbH: Sitz der Gesellschaft in Hamburg, HRB: 71494, USt-IdNr.: 
DE201625856, Geschaeftsfuehrung: Dipl. Kfm. Andreas Girnuweit, Dipl.-Ing. Oliver 
Groht, Dr. Wolfgang Tank



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.