Código PHP:
<?php
require_once("../includes/dompdf/dompdf_config.inc.php");
include_once("../includes/conexion.php");
$conectar = new Conectar();
$conectar->con();
$pedido = $_GET['pedido'];
$codigoHTML='
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src ="../js/jquery.js"></script>
<title>Lista</title>
</head>
<body>
<div align="center">
<div><h2> imagenes<h2></div>';
$usu = new Consultar();
$usu->consulta("select evi_foto, evi_foto2 from factura where id_pedido=".$pedido);
for ($i=0; $i <sizeof($usu->datos); $i++){
$codigoHTML.='
<table>
<tr>
<td><img src="http://localhost/sessions/log/final/subirImgs/'.$usu->datos[$i][0].'" width="600px" heigth="700px"></td>
<td><img src="'.$usu->datos[$i][1].'" width="600px" heigth="700px"></td>
</tr>
</table>
';
}
$codigoHTML.='
</div>
</body>
</html>';
echo $codigoHTML;
$codigoHTML=utf8_decode($codigoHTML);
$dompdf=new DOMPDF();
$dompdf->load_html($codigoHTML);
ini_set("memory_limit","128M");
$dompdf->render();
$dompdf->stream("imagenes.pdf");
?>