I've been using this code to show my images
<dd><?php echo '<img src="data:image/jpeg;base64,'.base64_encode( $result['image'] ).'"/>';
But when I want to show an pdf file I get nothing on my page, i only get my the frame from the iframe tag.
I've using this code to show my pdf file (also stored as a blob):
<dt> <?php echo '<iframe src="data:application/pdf;base64,'.base64_encode( $result['image'] ).'"</iframe>'; ?></dt>