// Check and see if the current photo has any faces associated with it.
$existingFaces = ORM::factory("items_face")
->where("item_id", $item->id)
->find_all();
// If it does, then insert some javascript and display an image map
// to show where the faces are at.
if (count($existingFaces) > 0) {
?>
}
?>