looks at setThumbnail.php (still procedural, though)