Did you try a relative path, rather than an absolute one? for example,
xlink:href="..\batik\batik-1.1.1\test.jpg" Just a thought. Michael > -----Original Message----- > From: Joe Mihalich [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 16, 2002 2:42 PM > To: [EMAIL PROTECTED] > Subject: Hard Directory location for image > > > > Hi, > > Is there a way to specify a hard directory location for > an image > Tag in SVG so Batik can find it? I tried this (which works > in the adobe svg viewer) but > Batik choked and displayed the default image it renders if > it can't > Load an image. > > <image id="image1" > xlink:href="d:\tools\batik\batik-1.1.1\test.jpg" width="10" height="10" > x="0" y="0" /> > > By the way, I tried it with all combinations of forward > and backward > Slashes. > > I'm using a Java app I wrote that uses the standard > Rasterizer that ships with > Batik. I build an SVG file locally which generates the line > above which needs to access > files on the local drive, not from a http url. > > Thanks, > Joe --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
