[Zope] Images Path
Marc Lindahl
marc at bowery.com
Sun Dec 14 21:34:35 EST 2003
how about:
<img tal:replace="structure python:image1.tag(width=W, height=H,
alt='image1 description' )/>
you still have to do joggling for your odd image folder path traversal
requirements....
On Wednesday, December 10, 2003, at 09:48 AM, fowlertrainer at anonym.hu
wrote:
> Hello Cornel,
>
> Wednesday, December 10, 2003, 3:20:34 PM, you wrote:
>
> It is Ok, but how I can change the parameters of image ?
>
> My image size is W/H, but I want to display as W1/H1.
>
> How can I do it with zope ???
>
> Only way I see to parse the image source with python script, and
> replace the width/height tags.
>
> Have any a simply solution ???
>
> Thanx.
>
> CN> http://old.zope.org/Members/peterbe/DTML2ZPT/index_html?pp=1
> CN> sectionQuickly
> CN> displaying images
>
>
> CN> Hello zope,
>
> CN> I want to use images in Zope Server, but it is don't
> CN> succeeds.
> CN> The page is ZPT kind:
> CN>
> CN> <td><img src="../Images/ULeft.jpg"
> CN> width="143" height="73"></td>
>
> CN> <td width="32" height="50"
> CN> background="../Images/TSILeft1.jpg"><img
> CN> src="1PIX.gif" width="32"></td>
>
> CN> This file is placed in SUBDIR1 (RootFolder/SubDir1).
> CN> The Images are in Root Folder. (RootFolder/Images)
>
> CN> This filed is called by the root folder:
>
> CN> <p tal:replace="structure SubDir1/mainzpt"/>>
>
> CN> So where I must load the images ?
>
> CN> Thanx.
>
>
>
>
> --
> Best regards,
> fowlertrainer
> mailto:fowlertrainer at anonym.hu
>
>
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
More information about the Zope
mailing list