twistedice
February 11th, 2007, 04:12 PM
Hi All,
Has anyone used FPDF before??? I have been using it to generate a few simple pdf's but i now have to add a logo, i can insert images fine but if i try to use a dynamic image it falls over with an error of: 'FPDF error: Image file has no extension and no type was specified:'.
The code is:
$logoName="/images/logo/retailer_9.jpg";
$this->Image($logoName,10,8,33);
If i use:
$this->Image('/images/logo/retailer_9.jpg',10,8,33);
it works fine
Its running on PHP, Does anyone have any ideas?
Cheers.
Has anyone used FPDF before??? I have been using it to generate a few simple pdf's but i now have to add a logo, i can insert images fine but if i try to use a dynamic image it falls over with an error of: 'FPDF error: Image file has no extension and no type was specified:'.
The code is:
$logoName="/images/logo/retailer_9.jpg";
$this->Image($logoName,10,8,33);
If i use:
$this->Image('/images/logo/retailer_9.jpg',10,8,33);
it works fine
Its running on PHP, Does anyone have any ideas?
Cheers.