enable config for image upload