repair upload images