trgk
1
Steps to reproduce:
-
Go to this URL
https://www.researchgate.net/publication/372533503/figure/fig1/AS:11431281270911835@1723283890520/Carotid-sinus-and-carotid-body-The-carotid-sinus-nerve-a-branch-of-the-glossopharyngeal.jpg
-
Copy the image
-
Paste that to Anki.
-
Notice the 403 error and the resulting image. src
attribute pointing to remote URL, rather than downloading the media.
Gonna make a PR for this. Leaving this post as a reminder.
llama
2
1 Like
trgk
3
Oh, this had already been discussed.
No, Iām not behind any VPN. It seems like some sites donāt like Ankiās user agent or so.
1 Like
This thread is also related:
1 Like
trgk
5
Posted a quick PR draft. This pr conserves filename and alt when the download succeeds.
1 Like
trgk
6
For record, I think anki should download the original image whenever possible instead of using the clipboard data, as it would allowā¦
- Animated GIF
- Image with transparency (may not be respected on the clipboard)
- Lossless embedding of non-jpg images.