Title: RE: external-graphic problem
I had the same problem before, I passed in image root as a parameter to XSLT page, and add that to the path of images. The limitation is: you have to assume all images are using same root path.
Tiffany
-Original Message-
From: vivek gupta
?
Danny Gallagher
Senior Software Engineer
The Gainer Group
6075 The Corners Parkway
Suite 116
Norcross Ga, 30092
-Original Message-
From: Clay Leeds [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 22, 2004 4:41 PM
To: [EMAIL PROTECTED]
Subject: Re: external-graphic src problem
On Jul 22, 2004
On Jul 23, 2004, at 6:20 AM, Danny wrote:
Clay,
Thanks for the response.
The xml is being streamed from the database in this instance, so there
is no
xml file that resides in a directory to serve as the base for the
relative
path.
Is there no way to use to a classpath entry as the base for the
Suite 116
Norcross Ga, 30092
-Original Message-
From: Clay Leeds [mailto:[EMAIL PROTECTED]
Sent: Friday, July 23, 2004 9:36 AM
To: [EMAIL PROTECTED]
Subject: Re: external-graphic src problem
On Jul 23, 2004, at 6:20 AM, Danny wrote:
Clay,
Thanks for the response.
The xml is being
This possibly becomes an XSLT problem. Use a global variable passed
into the XSLT transform to provide the basedir for the images.
-Original Message-
From: Danny [mailto:[EMAIL PROTECTED]
Sent: Friday, July 23, 2004 9:56 AM
To: [EMAIL PROTECTED]
Subject: RE: external-graphic src problem
Group
6075 The Corners Parkway
Suite 116
Norcross Ga, 30092
-Original Message-
From: Zaleski, Matthew (M.E.) [mailto:[EMAIL PROTECTED]
Sent: Friday, July 23, 2004 10:01 AM
To: [EMAIL PROTECTED]
Subject: RE: external-graphic src problem
This possibly becomes an XSLT problem. Use a global
-
From: Zaleski, Matthew (M.E.) [mailto:[EMAIL PROTECTED]
Sent: Friday, July 23, 2004 10:01 AM
To: [EMAIL PROTECTED]
Subject: RE: external-graphic src problem
This possibly becomes an XSLT problem. Use a global variable passed
into the XSLT transform to provide the basedir for the images
To: [EMAIL PROTECTED]
Subject: Re: external-graphic src problem
I should've thought of this sooner...
!-- At the top of my XSL-FO file or in an xsl:include --
!--varImagesDirectory | used to set PATH to images/ directory--
xsl:variable name=varImagesDirectory/path/to/images/xsl:variable
On Jul 23, 2004, at 10:40 AM, Danny wrote:
Still not quite, I'm still missing something:
Question, in your example:
xsl:variable name=varImagesDirectory/path/to/images/xsl:variable
/path/to/images is the path from a known root
Correct?
That is correct. Otherwise...
Here are my snippets
Parkway
Suite 116
Norcross Ga, 30092
-Original Message-
From: Clay Leeds [mailto:[EMAIL PROTECTED]
Sent: Friday, July 23, 2004 1:48 PM
To: [EMAIL PROTECTED]
Subject: Re: external-graphic src problem
On Jul 23, 2004, at 10:40 AM, Danny wrote:
Still not quite, I'm still missing something
, I really don't understand your problem domain.
-Original Message-
From: Danny [mailto:[EMAIL PROTECTED]
Sent: Friday, July 23, 2004 2:38 PM
To: [EMAIL PROTECTED]
Subject: RE: external-graphic src problem
So in my case, because the xml is streamed from the db and therefore
doesn't reside
In addition, since it follows the URI concept, you can set up the
variable's value to be a URL:
xsl:variable
name=varImagesDirectoryhttp://nonauthenticated.server.com/path/to/
images/xsl:variable
fo:external-graphic src=url('{$varImagesDirectory}/pic.jpg')
/fo:external-graphic
...would
Danny wrote:
Using baseDir I could reference the relative path to the image in the xsl,
but I would have to specify an absolute path in the baseDir, so really that
is the same as just hardcoding the path in the xsl.
My problem is that I do not want to require the application be installed in
a
On Jul 22, 2004, at 1:20 PM, Danny wrote:
** Application is a standalone Java Swing application. Cannot seem to
get a jpg to render in my pdf unless I hardcode the complete path to
the image in the external-graphic src attribute. The data in the pdf
renders fine, just no image. The image file
Wouter de Vaal wrote:
On a related note: if I create a few fo:table withing 1 fo:block, each
table will appears on the next line. So I was hoping for
tabletabletable
but I get
table
table
table
Table is a block level element. Starting a table creates a new block
area, which closes any line you was
Wouter de Vaal wrote:
Is it possible to add a caption to an external-graphic without putting
it in a table?
It depends on what you mean by add a caption to an external-graphic.
My goal is to have multiple graphics within a block so they will be put
on one line
untill there is no more space and
-Original Message-
From: Unger, Joachim [mailto:[EMAIL PROTECTED]
I found a problems when using urls instead of files for
fo:external-graphic's src paramater.
What kind of problems exactly? The image does not get picked up or what?
snip/
It works in 95% of all cases with APACHE.
Le jeu 18/09/2003 à 23:38, J.Pietschmann a écrit :
Thomas S wrote:
I'm using FOP fop-0.20.5 with fop.sh script and for all external-graphic
element, I can see 2 requests in my apache log.
Well, this happens for a few image formats. FOP first opens
a connection to check the image type
Thomas S wrote:
I'm using FOP fop-0.20.5 with fop.sh script and for all external-graphic
element, I can see 2 requests in my apache log.
Well, this happens for a few image formats. FOP first opens
a connection to check the image type (format), then may access
the URL again to do the actual
I'm using a serlvet to perform the XSLT transformation into my PDF document.
Everything works fine EXCEPT the images. I've tried referencing my images
many different ways, and none seem to work. Does anybody know how to get this
functionality to work?
Here's my graphic:
You may need to the the base directory/URL. See:
http://xml.apache.org/fop/embedding.html#config-internal
But I think your src attribute is wrong. It should be something like
this: src=url(file:logo.gif).
On 21.05.2003 18:02:20 Jeremy Nix wrote:
I'm using a serlvet to perform the XSLT
On 5/21/2003 9:18 AM, Jeremias Maerki wrote:
You may need to the the base directory/URL. See:
http://xml.apache.org/fop/embedding.html#config-internal
But I think your src attribute is wrong. It should be something like
this: src=url(file:logo.gif).
I was thinking it was this:
fo:external-graphic
William Gilbert wrote:
src=file:url(logo.gif)/
That's not a meaningful value, it will be interpreted as a file
ULR pointing to the file named url(logo.gif), and it's also
violating URI syntax. Use
src=url(logo.gif)
instead and set the baseURL configuration value.
J.Pietschmann
The solution I use is to set the image size 3 time less than the real size.
It works fine.
-Message d'origine-
De : Dan Check [mailto:[EMAIL PROTECTED]
Envoyé : mardi 22 avril 2003 00:39
À : [EMAIL PROTECTED]
Objet : fo:external-graphic image resolution
Hi,
I've been having some
Dan,
I've done a few projects with some high resolution images included in
the final PDF that FOP generates with XML and XSL. Some of these have
been 300 dpi or greater, and look great. FOP seemed to handle them fine
as long as you specify the length of the image block and the image. You
do
That's a well known bug which nobody yet bothered to track down.
You are invited.
Thanks for the invitation, I hopefully have a light week end (that's
pretty rare), so I'll have some time to ruminate the code and try to
understand it well ! ;o)
Don't count too much on me (I'd hate to disapoint
[EMAIL PROTECTED] wrote:
I am trying to put a 1pt black border around images. I first tried to use
the border common attribute on the fo:external-graphic tag, but it doesn't
work (on fop 0.20.5rc2).
It's not implemented.
Then, I decided to include my image in a block, but the block doesn't fit
Mihael Knezevic wrote:
thanx for the response. correct me if i'm wrong, but i thought the base
dir must only be set if i use this in a servlet?
baseDir *may* be set if you need it. Environment doesn't matter, that's just a
convenient way to resolve relative URI's.
--
Oleg Tkachenko
Multiconn
thanx again.
-Original Message-
From: Oleg Tkachenko [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 05, 2003 11:25 AM
To: [EMAIL PROTECTED]
Subject: Re: external-graphic problem
Mihael Knezevic wrote:
thanx for the response. correct me if i'm wrong, but i thought the
base dir
Here is our working code:
xsl:if test=@isrc!=''
fo:external-graphic scaling=uniform height=auto width=auto
content-width=auto content-height=auto src=[EMAIL PROTECTED]/
/xsl:if
If I remember right, you also have to set the basedir (either in your
userconfig.xml or via Java):
thanx for the response. correct me if i'm wrong, but i thought the base
dir must only be set if i use this in a servlet?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 04, 2003 2:12 PM
To: [EMAIL PROTECTED]
Subject: Re: external-graphic
: external-graphic problem
Here is our working code:
xsl:if test=@isrc!=''
fo:external-graphic scaling=uniform height=auto width=auto
content-width=auto content-height=auto src=[EMAIL PROTECTED]/ /xsl:if
If I remember right, you also have to set the basedir (either in your
userconfig.xml
Rodolphe VAGNER wrote:
Is it possible to apply a ratio on an image trhought
an external-graphic fo element ?
I mean I want to display a graphic at 1/3 its size for example.
Can anyone help ?
Thanks
You can't scale a graphicto 1/3 or the original size. One
problem is actually: what is the original
Urban, Patrick wrote:
Can anyone help me debug this. I am looking to simply pull a logo onto my
report with this code...
fo:external-graphic src=http://epndev0006/Logo_Plain.gif/
this error is being output from FOP...
[ERROR]: Error while creating area : Error with image URL:
:13 PM
To: [EMAIL PROTECTED]
Subject: Re: External Graphic
Urban, Patrick wrote:
Can anyone help me debug this. I am looking to simply pull a logo onto my
report with this code...
fo:external-graphic src=http://epndev0006/Logo_Plain.gif/
this error is being output from FOP...
[ERROR
Patrick-
The server portion of the URL you're using looks like an NT name, or at
least a name in your default domain (TCP/IP, not NT) If you're doing this
all on one machine (if you're running FOP on epndev0006), why not use a
relative path through the file structure (i.e.
[EMAIL PROTECTED] wrote:
If you're running FOP on a different machine than IIS, perhaps the FOP box
can't resolve the name epndev006.
This would give
[ERROR]: Error while creating area : Error with image URL:
epndev0006 and no base directory is specified.
(small, but importsnt diffference)
:
oo.de Subject: Re: External Graphic
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 04, 2002 9:41 PM
Subject: Re: external-graphic width height
Florence Deforge wrote:
Hi
I need to resize some gif images which are to be displayed in a pdf doc.
I tried to insert the following code inside a block or a table
Florence Deforge wrote:
Hi
I need to resize some gif images which are to be displayed in a pdf doc.
I tried to insert the following code inside a block or a table-cell :
fo:external-graphic width=75% height=75% text-align=center
xsl:attribute name=src
xsl:textfile:/xsl:text
Harald Meyer wrote:
I have a problem with external graphics. FOP seems to ignore any settings of
content-height and content-width. It always puts out the graphic at the same
size.
Both content-height and content-width are not mentioned in
docs/html-docs/implemented.html and seem to be commented
RAYMOND Romain wrote:
Is there a problem to fix a SVG heigth in an external-graphic
I cannot dot it.
Can you post a shoret, self contained sample which
demonstrates the problem?
J.Pietschmann
Orford, Jeffrey wrote:
Hi-
I'm attempting to use a gif image using the fo:external-graphic tag. Both
the gif file and the xsl file are located in a war file. The gif is located
in a directory /images (from the war file's root) and the xsl file is
located in a directory named web-inf. So far
/fo:table-cell
Thanks.
Jeff Orford
-Original Message-
From: Tomasz Pik [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 09, 2002 2:15 AM
To: [EMAIL PROTECTED]
Subject: Re: external-graphic within a war file
Orford, Jeffrey wrote:
Hi-
I'm attempting to use a gif image using
PROTECTED]
Sent: Tuesday, April 09, 2002 2:15 AM
To: [EMAIL PROTECTED]
Subject: Re: external-graphic within a war file
Orford, Jeffrey wrote:
Hi-
I'm attempting to use a gif image using the fo:external-graphic tag. Both
the gif file and the xsl file are located in a war file. The gif is
located
The servlet is running within Weblogic 5.1 (my firm's standard for the time
being) I'll try this one, Thanks again.
Jeff
-Original Message-
From: Tomasz Pik [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 09, 2002 9:43 AM
To: [EMAIL PROTECTED]
Subject: Re: external-graphic within a war
RAYMOND Romain wrote:
I cannot access images while building my PDF throught FOP, return error
is
no protocol . Althought I used (as in the examples) a file:path ...
What is the synthax ?
The URL syntax for files on the local machine is
file:///some/path/to/file.ext
Note the triple slash. FOP
47 matches
Mail list logo