[Zope] Structured Text's "DocumentWithImages" class

Barry Pederson barryp@medicine.nodak.edu
Thu, 18 Jul 2002 14:54:38 -0500


A M Thomas wrote:
> Hi there,
> 
> I was just looking through the change notes for Zope 2.6.0a, and came
> across something about "Structured Text's "DocumentWithImages" class" -
> I searched zope.org, the zope cookbook, and the mailing list archives,
> and couldn't find any reference to DocumentWithImages - can someone
> point me to the correct documentation?  This sounds interesting.


I guess my understanding of this is you can place images in a STX document 
with something like:

   "this is the alternate text":img:http://foobar.com/my.jpg

which in html translates to:

   <img src="http://foobar.com/my.jpg" alt="this is the alternate text">

or, to make the image a link, append a colon and another url

   "my link to yahoo":img:http://foobar.com/my_yahoo.jpg:http://www.yahoo.com

which wraps a <a href="http://www.yahoo.com"> tag around the <img> tag.

	Barry