<img src="data:image/png;base64,<?php echo base64_encode(stream_get_contents($imageData)); ?>" />
<?php 
  $imageData; 
 //header("Content-type: " . $imageType);
 $imageData;
//echo($imageData);

//header("Content-type: image/jpeg");
//echo $imageData;
//echo base64_decode($imageData);
//echo '<img src="data:image/jpg;base64,' . $imageData . '" />';


//$code_base64 = $imageData;
//$code_base64 = str_replace('data:image/jpeg;base64,','',$code_base64);
//$code_binary = base64_decode($imageData);
//$image= imagecreatefromstring($code_binary);
//header('Content-Type: image/jpeg');
//imagejpeg($image);
//imagedestroy($image);



//echo '<img width="100px" src="data:image/jpg;base64,'.base64_encode( $imageData ).'"/>';
//echo '<img src="data:image/png;base64,' . base64_encode( $imageData ) . '" />';
//echo '<img src="data:image/jpeg;base64,' . base64_encode( $imageData ). '" />';
//echo '<img src="data:image/png;base64,' . base64_encode($imageData) . '" />';



 ?>