omnivore-app / omnivore

Omnivore is a complete, open source read-it-later solution for people who like reading.
https://omnivore.app
GNU Affero General Public License v3.0
13.61k stars 880 forks source link

Allow falling back to original image if image proxy is blocked #1787

Closed jacksonh closed 1 year ago

jacksonh commented 1 year ago

Example image where we are blocked: https://proxy-prod.omnivore-image-cache.app/0x0,s4sIHj5Ig8NZgGeqROEWQGh4tTeBK-AQZApz3A2rN2jU/https://archive.is/Y3eqq/02927f3c10e827a054b60d39b31c2129dbe00b54.jpg

https://archive.is/Y3eqq/02927f3c10e827a054b60d39b31c2129dbe00b54.jpg

If we set an attribute with the original url like data-omnivore-original-src="" then in JS we could fall back to the original in these cases.

jacksonh commented 1 year ago

Taken from original URL: https://archive.is/2023.02.07-181229/https://www.thetimes.co.uk/article/church-england-he-him-pronoun-gender-neutral-alternatives-7n0n0sddf