It seems that Discourse doesn’t see that Google image links are images in order to know to download them locally.
I noticed this first on a multi-site instance, and then checked on try.
Here’s this url https://photos.app.goo.gl/KXa79xi3R82sjisX8 that renders beautifully into an image, but it never gets pulled down locally. I think it’s because the stupid Google doesn’t make those URLs end in .jpg the way God intended and there’s nothing that can be done, but I thought I’d ask anyway.
We already downloading onebox images. The issue here is “Google Photos” not using file extension in the image URLs. So we are unable to fetch it from the post content. Anyway we can achieve it by adding a special case for Google. Added to my list.
Why it’s not working . It have valid image URL (https://c1.staticflickr.com/1/18/24130109_68f93566b9_m.jpg) inside onebox html.
Why do we need this though? Should we not just try to download everything that is <img src="https://site.com/i_must_be_an_image">, it will come back with a mime type.