From: Nick Date: 2005-09-25T21:56:43+09:00 Subject: Re: image in pdf i get this error using fpdf pdf.Image('public/images/products/PIDVR108.jpg',20,200,100,'JPG') error: undefined local variable or method `data' for #/lib/fpdf/fpdf.rb:1317:in `parsejpg' /lib/fpdf/fpdf.rb:821:in `Image' /app/controllers/product_controller.rb:41:in `gen_pdf' /app/controllers/product_controller.rb:27:in `pdf' script/server:49when i change the path to something else (i enter a wrong path): then no such directory or file,so he find the file.anyone can help me