You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@bekicot sure thing! I looked into it a bit and apparently the "canonical" way to get the image's original URL is to make a query to the Wikipedia API:
Maybe a good first step is just making imagesAtFullSize ignore wiki image files?
I added this in the commit above.
danburzo
changed the title
imagesAtFullSize breaks images from Wikipedia articles
Use largest available size for images in Wikipedia articles
Oct 22, 2018
The idea of the
imagesAtFullSize
enhancement is to get the largest available image from blogs using Blogspot, WordPress, and the like:percollate/src/enhancements.js
Lines 1 to 20 in 3506b37
However, Wikipedia images are an exception:
They link to what looks like an image file, but is in fact a HTML page for that image. How can we handle this situation gracefully?
The text was updated successfully, but these errors were encountered: