Adding "image source" automatically when using "insert from URL"

Hello! WordPress has a nice "Insert from URL" option to add images. I'm wondering if there is a way to automatically insert a line of text under the image that says something like "source" and links to the actual URL of the image?

This way, the attribution to the image can be given automatically to the website from where the image has been taken, like a lot of popular media sites do, without having to add the source manually for every image in the post.