+ Added constants.php and rescale of uploaded images