Hi, i just took a look. I think the problem is that you specify /images in your xsl file. I assume you call fop from within a web script as php per command line or tomcat java server, am I right? So, fop looks for /images/brodart.jpg in the Server root. This is NOT the root of your HTML documents! Maybe, your FTP client shows you your website in /. But this is NOT the real server path (google for chroot). Find out your Webserver docroot and change your xsl. You will end up with something like /var/www/htdocs/images/brodart.jpg or - better - use relative paths. fop looks for external graphics relative from the path were it is started from (eg you call fop from a php script in http://webserver/genpdf/ and your docroot is /srv/www/htdocs, your path is /srv/www/htdocs/genpdf/. if you have your images in http://webserver/genpdf/images, use images/bla.jpg in your xsl. Hope, I made this clear. I don't have the time to give a long explanation.
Alex Am Mittwoch, 26. September 2007 15:28:48 schrieb manojkmi: > Hi Alex, > > I do remember UNIX is case sensitive and even I set the image to binary > mode and I compared the file size its showing same. > > Here iam attaching XML and XSL file which iam using to generate PDF. Could > you please look into that and give me any suggestions please. > > Alexander Simon-2 wrote: > > Hi manojkmi, > > > > did you remember that UNIX filesystems are case sensitive? > > Maybe this is your problem. > > Also, maybe you uploaded the file with eg ftp and forgot to set binary > > mode? > > Compare the file sizes in byte with the original file, or better md5sum > > it. > > > > As Chris said, please post the output when running FOP from command line. > > It > > should tell you what the problem is. > > > > Alex > > > > Am Mittwoch, 26. September 2007 15:06:40 schrieb manojkmi: > >> Iam running this through an application and I am using FOP 0.93, Jdk > >> 1.4.2, > >> UNIX OS. > >> I ran the same application on Windows XP, I can see image on PDF but not > >> on > >> UNIX. > >> > >> cbowditch wrote: > >> > manojkmi wrote: > >> > > >> > <snip/> > >> > > >> >> Problem is that on UNIX, PDF is getting generated but image in not > >> >> coming > >> >> up. > >> >> I have given the absolute path (src="/u01/bro_cds/images/phone.jpg") > >> > >> for > >> > >> >> the > >> >> image even iam not getting that. > >> >> > >> >> Could some one shed some light onto this and let me know how to > >> > >> resolve > >> > >> >> this > >> >> issue? > >> > > >> > How are you running FOP? From the command line or from an application? > >> > If running from the command line you should see some messages telling > >> > you that FOP couldn't find the image. > >> > > >> > Also, you failed to mention which version of FOP you are using. The > >> > JDK version and operating system details would also be useful. > >> > > >> > Thanks, > >> > > >> > Chris > >> > > >> > > >> > > >> > > >> > --------------------------------------------------------------------- > >> > To unsubscribe, e-mail: [EMAIL PROTECTED] > >> > For additional commands, e-mail: [EMAIL PROTECTED] > > > > This e-mail and any attachment is for authorised use by the intended > > recipient(s) only. It may contain proprietary material, confidential > > information and/or be subject to legal privilege. It should not be > > copied, disclosed to, retained or used by, any other party. If you are > > not an intended recipient then please promptly delete this e-mail and any > > attachment and all copies and inform the sender. Thank you. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > http://www.nabble.com/file/p12900995/New%2BFolder.zip New+Folder.zip --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
