Make it easier to override default settings in civicrm.settings.php
Also apply validation on the contact record image.