[ZPT] img replace url

Calvin Hendryx-Parker calvin@sixfeetup.com
Sat, 06 Jul 2002 08:04:45 -0700


--On Saturday, July 6, 2002 1:03 -0300 Lalo Martins <lalo@laranja.org> 
wrote:
> what exactly is your SiteRoot properties?
>
> I have this working on my personal site and many customer sites, including
> (in my personal site) multiple siteroots for wildcard DNS.
>

I have a SiteRoot object in the root folder of the site and it has the 
settings set to null and then in the properites of the folder I have 
SiteRootBASE = "http://www.myserver.com" and SiteRootPATH = "". In the 
proxy rules in apache I have ProxyPass / http://127.0.0.1:8080/mysite/ and 
I have a matching reverse instruction.  Am I missing something?

When I do something like this I get the right URL:

<img tal:attributes="src here/images/myimage/absolute_url" />

but I have to include all of the attributes by hand that way and I would 
rather do the tal:replace.

Thanks,
Calvin

-- 
Six Feet Up, Taking your site to new heights
Toll-Free: 1-866-SIX FEET | Cell:415-760-5038
mailto:calvin@sixfeetup.com
http://www.sixfeetup.com
Refer a friend. Get $30.