Move upload images to separate module