Re: Image problem
fo:block fo:external-graphic height=48px width=131px src=file:theImage.gif/ /fo:block and I get the following error: Error while creating area : Invalid Image URL - error on relative URL : no protocol: theImage.gif What am I doing wrong ? Have you tried other possibilities or is this your first try? Try including the image without the leading 'file:'. If this doesn't work you should try the absolute path and adding './' before the image. Hope that helps. MfG, Daniel -- Daniel Knapp [EMAIL PROTECTED] int a=1,b,c=2800,d,e,f[2801],g;main(){for(;b-c;)f[b++]=a/5;for(;d=0, g=c*2;c-=14,printf(%.4d,e+d/a),e=d%a)for(b=c;d+=f[b]*a,f[b]=d%--g,d/= g--,--b;d*=b);} berechnet Pi auf 800 Stellen genau. :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Image problem
I think that you have to provide the absolute path of the file. gustavo -Original Message-From: Pablo Iaria [mailto:[EMAIL PROTECTED]]Sent: mercredi, 29. août 2001 15:17To: [EMAIL PROTECTED]Subject: Image problem Hi all, I'm triying to insert an image into a document. I have the following code: fo:block fo:external-graphic height="48px" width="131px" src="file:theImage.gif"//fo:block and I get the following error: "Error while creating area : Invalid Image URL - error on relative URL : no protocol: theImage.gif" What am I doing wrong ? Thanks in advance, Pablo.- PS: the image file is placed in the same fop file directory.
Re: Image problem
Try this (it works for me): String theFileURL=file:/// + theFile; -Lou Pablo Iaria [EMAIL PROTECTED] on 08/29/2001 09:47:21 AM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Image problem Hi all, I'm triying to insert an image into a document. I have the following code: fo:block fo:external-graphic height=48px width=131px src=file:theImage.gif / /fo:block and I get the following error: Error while creating area : Invalid Image URL - error on relative URL : no protocol: theImage.gif What am I doing wrong ? Thanks in advance, Pablo.- PS: the image file is placed in the same fop file directory. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Image problem
This is absolutely true! The absolute path is necessary to get the image to work (at least that's how I work with it). jw -Original Message-From: Gustavo Wolf [mailto:[EMAIL PROTECTED]]Sent: Wednesday, August 29, 2001 8:31 AMTo: '[EMAIL PROTECTED]'Subject: RE: Image problem I think that you have to provide the absolute path of the file. gustavo -Original Message-From: Pablo Iaria [mailto:[EMAIL PROTECTED]]Sent: mercredi, 29. août 2001 15:17To: [EMAIL PROTECTED]Subject: Image problem Hi all, I'm triying to insert an image into a document. I have the following code: fo:block fo:external-graphic height="48px" width="131px" src="file:theImage.gif"//fo:block and I get the following error: "Error while creating area : Invalid Image URL - error on relative URL : no protocol: theImage.gif" What am I doing wrong ? Thanks in advance, Pablo.- PS: the image file is placed in the same fop file directory.