fixing the checkbox for thumbnail.php for secondary images