configure the image upload plugin