<?php $image = $row['myimage']; header("Content-type: image/gif"); print $image; exit; >? Mas parece mais fácil apenas armazenar o caminho...