Re: ImageField in Archetypes
Hanno Schulz <[email protected]>
| Newsgroups | gmane.comp.web.zope.german |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, versuch mal <img tal:replace="structure python: here.Bild1_preview" /> Archetypes generieren da für alle Größen einen accessor. Hanno Am 04.03.2010 15:50, schrieb Alwin Michael SCHRONEN: > Plone 2.5.5, > CMF-1.6.4, > Zope (Zope 2.9.8-final, python 2.4.4, linux2), > Five 1.3.10, > Python 2.4.4 (#1, Sep 2 2009, 15:15:15) [GCC 4.3.2 [gcc-4_3-branch > revision 141291]], > PIL 1.1.6 > > Hallo, > > ich habe einen Archetype angelegt mit einem ImageField mit Namen "Bild1". > Nun möchte ich das Bild in verschiedenen Displays aufrufen: > > <img tal:replace="structure python: here.Bild1.tag(scale='preview')" /> > > Geht aber leider nicht, ich bekomme die Fehlermeldung: > a float is required > > Was mache ich falsch, wie kann ich das machen? > > Danke und Gruß > Alwin > > > > > > > _______________________________________________ > zope mailing list > [email protected] > https://mail.dzug.org/mailman/listinfo/zope -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJLj+fMAAoJEGMseF/RWBlbvzMH/i4zioWaA/ktGr+DH8uZQ8gg bMGSwXm906Q7v7oHGI+5t1mR3ADsXu6a/SiaS2ibMNxf8qsZ9kfH9JoyrNH9k5HP LnLVeeF+/cc2i8YFa5Rj0xRuKALuiVLlIwukP/t4ywCjsThf7N7vHjyswpNCyxDB Hf8HfdQW2v69YAJe97yAWiWMXq0+xRgaO6zvLesH4WG4Ho4prnqbLqIv4N3qSEAm YsGNr6pVfctzvDl2sTEwN4mysZm34OZAvz/ihr2Dg4KYhgtuNSW3Wcg+M2wakEDD J2RGss7GhbYAam4LMDw8TAVw9YDnsDqWsCaBXEcK8INTEYRwQT26TJE0wondEYM= =KWAC -----END PGP SIGNATURE----- - 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