Are you intentionally not mentioning which country and law?
That's not how the GDPR works at all. If it were, there would be no content distribution networks operating in the EU. Linking to a third party image in document markup does not involve you transmitting anything.
https://www.theregister.com/2022/01/31/website_fine_google_f...