[Zope-CMF] show images "autoformatted" in a document

Ausum Studio ausum_studio@hotmail.com
Wed, 20 Nov 2002 10:48:02 -0500


If  "project1.jpg" happens to belong to a cluster of images that are going
to receive the same treatment, you may want to create a new portal type
based upon a regular portal image object, and then create a custom skin for
the 'View' action.

Otherwise you just create a script(skin)  that uses the image object and an
added formatting string as variables, so that it returns a whole html unit
per image.(In your case, a table).



Ausum




----- Original Message -----
From: "Jens Hauser" <hauser@jam-gmbh.de>
To: <zope-cmf@zope.org>
Sent: Wednesday, November 20, 2002 10:18 AM
Subject: [Zope-CMF] show images "autoformatted" in a document


> Hi,
>
> how can I automatically have CMF format a picture within a portal document
to
> be shown for instance with a table-border.
> For instance:
>
> I want to have a picture named "project1.jpg" automatically formatted as a
> html-document as following
>
> table
>   tr
>    td img src="img/project1.jpg"  /td
>   /tr
> /table
>
> From a "normal" dtml document I would call another document which
> automatically puts the table information around the image and deliver the
> images url through a variable.
>
> I hope it was understandable - sorry, if not.
>
> Best regards,
> Jens
>
> j.a.m. GmbH
> Computer, Systemberatung, Webhosting, Softwareentwicklung
> Eschersheimer Landstraße 471
> 60431 Frankfurt am Main
> fon (069) 46 09 88 - 13
> fax (069) 46 09 88 - 78
> url http://www.jam-gmbh.de
>
> Haben Sie schon Jamail probiert? Den eMailer für personalisierte
Serien-Mails? Jetzt testen: http://www.jamail.de
> Already tried Jamail? Visit the personalized massmailer @
http://www.jamail.de/us/
>
> -----------------------
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.
>
>
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://collector.zope.org/CMF for bug reports and feature requests
>