add resize in config
generator the config.json