[Zope-CMF] image inclusion in structured text - issue
Tres Seaver
tseaver@palladion.com
Mon, 04 Jun 2001 06:58:21 -0400
marc lindahl wrote:
> It seems that the link generated for an included image is not an absoulte
> one, therefore almost completely useless...
>
> If I have a folder with both a structured text Document and an Image with
> id=imageName, and in the doc have the link:
>
> "some text for alt tag":img:imageName
>
> it generates the html <img src="imageName" alt="some text for alt tag">
>
> for any object -- image, file, etc, shouldn't it generate the absolute_url?
It isn't trying to be that smart. If you want a site-absolute value,
you can
prefix the bit you embed in the tag with '/'. Other URLs (with colons) are
slightly buggy. For instance, this works for me:
This is a test of the "image
embedding":img:http://www.zope.org/
except that STX insists that it must label the thing "Figure http".
I think the trunk is already fixed to deal with this problem.
Tres.
--
===============================================================
Tres Seaver tseaver@digicool.com
Digital Creations "Zope Dealers" http://www.zope.org