moduling the image upload