in the code, change the recordset binding that displays the file name to an image tag.
the code to display the file name will look similar to:
<?php echo $row_RecordsetName['ColumnName']; ?>
change that to:
<img src="images/detail/<?php echo $row_RecordsetName['ColumnName']; ?>" />