Home > Enterprise >  How to get a lower resolution version of an image from Wikimedia
How to get a lower resolution version of an image from Wikimedia

Time:06-13

I want to be able to fetch Wikimedia's images, selecting a custom (or lower) resolution than the default's one.

I've found an image that says that it should be possible by changing the URL, however, It doesn't work.

Am I doing it wrong? Is there any other solution using publicly accessible URI?

Some of the ones I tested:

As you can see, none of them work. Is there any other method or a way to do it properly with this one?

CodePudding user response:

This method works if you use "thumb" in the url after "commons/".

So, the low resolution of this: https://upload.wikimedia.org/wikipedia/commons/f/f2/Mount_St._Helens_erupting_blue.jpg

becomes this: https://upload.wikimedia.org/wikipedia/commons/thumb/f/f2/Mount_St._Helens_erupting_blue.jpg/200px-Mount_St._Helens_erupting_blue.jpg.png

  • Related