$objDrawing=new PHPExcel_Worksheet_Drawing();
$objDrawing->setPath($dir."/image/1.jpg");
$objDrawing->setWorksheet($objsheet);
$objWrite=PHPExcel_IOFactory::createWriter($objPHPExcel,'Excel5');
$objWrite->save('php://output');
$objDrawing->setPath($dir."/image/1.jpg");这一行有问题
$objDrawing->setPath($dir."/image/"."1.jpg");这样改