|
Posted by Steve on 10/09/07 21:44
"Good Man" <heyho@letsgo.com> wrote in message
news:Xns99C4B29C52805sonicyouth@216.196.97.131...
> "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.
right. that's exactly it. fpfd has been brought into conformance with our
clients best practices...which, part of that is camelCasing interface names
rather than PascalNotation.
Navigation:
[Reply to this message]
|