Templated excel to PDF, image within excel turns to link in PDF

Topics: Developer Forum
Apr 16, 2013 at 4:17 PM
Edited Apr 16, 2013 at 4:59 PM
I have a excel template that has an image in one of the cells but when it is loaded then converted to a pdf the image is replaced with the following: Image not readable or empty zip:///.....

How can i embed the image into the template so that the pdf created has the image within?

Or would i need to use the PHP Excel import image method?

EDIT:

i have tried the following but still get the erro message in the PDF.
        $objDrawing = new PHPExcel_Worksheet_Drawing();
        $objDrawing->setName('Logo');
        $objDrawing->setDescription('Logo');
        $objDrawing->setPath($settings['image_loc']);
        $objDrawing->setCoordinates('G2');
        $objDrawing->setHeight(120);
        $objDrawing->setWidth(50);
        $objDrawing->setWorksheet($objPHPExcel->getActiveSheet());
The image location is relative '../' etc