[Zope] Simple (I hope) question re: images
   
    Angie Bayley
     
    angie_bayley@hotmail.com
       
    Tue, 29 Jan 2002 16:57:03 +0000
    
    
  
Hi folks,
Further to my earlier question about generated URLs for images, I
think I have found a workaround.
For the time being, I have given up on VirtualHostMonster and am
using SiteRoot instead (setup as described in fritz's helpful
HOWTO, "Configure Apache Virtual Hosts and Zope using SiteRoot".
SiteRoot seems to correctly rewrite URLs in a manner which
VHM doesn't (I seem to be getting screwy results with
VirtualHostRoot in VHM). Putting
dtml-var "images.example_jpg"
in a SiteRooted folder rewrites it as
img src="http://www.example.com/images/example_jpg" alt="name" width="n" 
height="n"
which is exactly what I want.
Cheers
Angie
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx