How to download an image from Google Docs
This is something I have to do from time to time. Someone will write up a content draft in Google Docs and sprinkle in images. I often need to move the content from Google Docs to WordPress and that’s an easy copy-and-paste. But if you look at the pasted images in WordPress, you’ll notice that the WordPress block editor simply hot-links the images rather than importing them into the media library.
I prefer to host my own images. Who knows what’s going to happen with that Google Doc down the road, right? The problem is that there’s no direct way to download an image from a Google Doc, at least that I’ve found.
The trick? It’s simple, really. Since the image is hot-linked in the WordPress editor, I switch to the code editor and grab the image URL from the markup for that block. Paste the URL into the browser, download the image, then insert it into WordPress and—voilà—we have a hosted copy of the image.