Fwd: [Zope] Images Path

fowlertrainer at anonym.hu fowlertrainer at anonym.hu
Wed Dec 10 09:48:34 EST 2003


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




More information about the Zope mailing list