Hi I'm trying to insert a couple of images into a document that's simple but is created in a complex way. Anyway, this is how I insert the images:
<xsl:template match="doc-page"> <xsl:variable name="imageFile"> <xsl:value-of select="concat($imgpath, @file)" /> </xsl:variable> <fo:block> <fo:external-graphic content-height="scale-to-fit" content-width="16.8cm" src="{$imageFile}" /> </fo:block> </xsl:template> I get the following error (in this case 2 images): ERROR Image not available: CH00003788_iis0001.tif ERROR Image not available: CH00003788_iis0002.tif However, the images are shown in the PDF. If I output the path by using <fo:block> <xsl:value-of select="$imageFile" /> </fo:block> I get the following in the PDF file:///C:/temp/CH00003788_iis0001.tif ... file:///C:/temp/CH00003788_iis0002.tif The files are there, I can open them using the URL. So why does FOP insist on not finding the images? I'm puzzled... Oh, and while I'm at it, can anyone explain why this doesn't work? <fo:external-graphic content-height="scale-to-fit" content-width="scale-to-fit" src="{$imageFile}" /> The image is not scaled, but is bigger than the page. Thanks for any help, Eric --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]