add config setting to scale or crop icon image