https://meta.discourse.org/t/how-to-let-discourse-load-images-from-local-after-youve-downloaded-them-back-to-server/93307/6?u=vinothkannans
It may not work since the uploads are not in external URL format.