|
Posted by Good Man on 10/09/07 21:32
"Steve" <no.one@example.com> wrote in news:wTROi.114$OQ.5@newsfe03.lga:
> i just get a blank space where an image should be. there are no errors
> that indicate my path is wrong...or anything else. i just get a blank
> space. here's my test code:
>
> <?
> header('content-type: application/pdf');
> require_once 'table.pdf.class.php'; // test class to ease table
> creating
> // only calls cell() in fpdf but
> in a
> way
> // that make it more html-like in
> creation
> $imagePath = 'c:/inetpub/wwwroot/toyotaii/images/';
> $pdf = new pdfTable();
> $pdf->addPage();
> $pdf->setFont('Arial', '', 8);
> $image = $pdf->image($imagePath . 'tccc.logo.jpg', $pdf->getX(),
> $pdf->getY());
And I just noticed this, the function is Image() not image() but perhaps
thats irrelevant if you've camelCased the function definition.
Navigation:
[Reply to this message]
|