Ahhh... y si pruebas algo asi:
Código PHP:
<?
$cod = $_GET['cod'];
header("Content-type: binary");
require ("Clase_Firebird.php");
$miconexion = new DB_Fire ;
$Conexion = $miconexion->conectar();
$miconexion6 = $miconexion->consulta($Conexion,"SELECT A.CORREGIR_ERROR FROM T006_ERRORES A WHERE A.CO_ERROR = ".$cod);
$fila2 = ibase_fetch_object($miconexion6);
$image = @imagecreatefromstring($fila2->CORREGIR_ERROR);
if($image){
header("Content-type: image/jpeg");
imagejpeg($image);
else{
header("Content-type: binary");
ibase_blob_echo($fila2->CORREGIR_ERROR);
}
?>
Saludos