From: Austin Ziegler Date: 2005-09-25T02:45:37+09:00 Subject: Re: image in pdf On 9/24/05, Nick wrote: > i do this and he cant find it > > pdf.Image('/products/logo2.jpg',10,8,86,0,'JPG') > > the folder and image is under C:\rails\eshop\public\images, or is this only > for the web, if so where to put it for the pdf? Um. Which PDF creator are you using? I'd guess that you're using FPDF for Ruby; I'd personally recommend PDF::Writer, but I'm biased. You will need to fully specify the path in any case, though, as the Ruby program doesn't know anything about relative path from the web root. You can potentially just specify "public/images/products/logo2.jpg". -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca