FAMSI Logo


Link to enlarge Archaeology Plate 107 ©Annie Hunter Travis Doering and Lori Collins
MESOAMERICAN THREE-DIMENSIONAL IMAGING DATABASE

© 2007 Travis Doering and Lori Collins
AIST Logo
'; echo ''; #query db with new search term $result = mysql_query("select * from 3dproject_scans where id_number = '$id_number' order by id_number ASC"); $record_cnt = mysql_num_rows($result); echo ''; //put all the code here for running the script itself using $result in the while loop for ($i=0; $i<$record_cnt; $i++) { $row = mysql_fetch_array($result); $image=trim($row['scan_image']); echo ''; echo ''; echo ''; } ?>
'; echo ''; echo ''; echo ''; if($row['scan_date'] > 0) { echo ''; } echo '
M3D Number:  '.$id_number.'
Scanned Area:  '; echo $row['scan_area']; echo '
Date Scanned:  '; echo $row['scan_date']; echo '
'; //echo '
'; echo ''; /*Commented out, using just the thumbnail //image manipulation $size = GetImageSize($image); $width = $size[0]; $height = $size[1]; if($width > 3000 || $height > 3000) { $tn_width=ceil($width/20); $tn_height=ceil($height/20); } else if ($width > 2000 || $height > 2000) { $tn_width=ceil($width/10); $tn_height=ceil($height/10); } else if ($width > 1000 || $height > 1000) { $tn_width=ceil($width/5); $tn_height=ceil($height/5); } else { $tn_width=ceil($width/3); $tn_height=ceil($height/3); } */ $image=trim($row['scan_image']); $image_name=str_replace('uploads/','',$image); $image = '/3D_imaging/uploads/'; //echo '
'; echo ''.$credit.'

'; //echo "
'; echo 'Click to view high resolution in a new window'; echo '