Add a setting for the maximum image size