Why are my header images not working?

Topics: User Forum
Sep 8, 2010 at 8:25 PM

$objDrawing = new PHPExcel_Worksheet_HeaderFooterDrawing();
$objDrawing->setName('MASTEC LOGO');
$objDrawing->setPath('./images/ml_logo.jpg');
$objDrawing->setHeight(76);
$objMLNotes->getHeaderFooter()->addImage($objDrawing,PHPExcel_Worksheet_HeaderFooter::IMAGE_HEADER_CENTER);
$objMLNotes->getHeaderFooter()->setOddHeader("&C&G");

I get nothing in the header.