I am sure there are many but in checking the Discourse settings for a site found
download remote images to local
Convert remote (hotlinked) images to local images by downloading them; This preserves content even if the images are removed from the remote site in future.