Public Domain Images and Content, Linking To-- Wikimedia, Gutenberg, etc

I am working with Google AI Studio, using a variety of public domain portraits. It is crashing a lot and generating a lot of broken links. I have been linking directly mainly. It starts with almost no broken links, then very quickly, the links break. I am thinking that I should download the images and upload them to Google AI Studio directly. Would like to make this as easy as possible. Right now, I am using urls and it is not working the way I like it.