not sure if i understand, but the "while(mysql_num_rows()....." loop will only process once. and the mysql_fetch_array() function returns one row at a time (i.e. your first row). so...
$sql = "SELECT * FROM images";
$result = mysql_query ($sql, $db);
while($row = @mysql_fetch_array ($result) ) {
$image_type = $row["filetype"];
$image = $row["binary_junk"];
Header ("Content-type: $filetype");
echo $image;
}