Is there a way to change or remove the thumbnail image of an external link in a gallery?

We have a collection of resources for our community, displayed as a gallery. Some files are downloadable, while others are external links. It's unclear where the thumbnails for the external links originate from, and I would like to either remove these previews or replace them with clearer images. However, I haven't found a way to do this through the admin settings or the documentation. I'm seeking suggestions, and if none are available, I'm open to developing a new idea.