fixing the upload image pages