mediawiki – wikimedia – retrieve images with custom resolution

I am scraping wikipedia urls for images and an url for images has the format as follows:

https://upload.wikimedia.org/wikipedia/commons/9/9b/Dostoevskij_1863.jpg

I went through the documentation and etc. but could not find a way how to retrieve given image in smaller size.

Does there exist a way how to get wikipedia/wikimedia images in smaller size through http (based on original url)? (I am talking about getting the image already resized from the source, not resizing after download )

In case Mr. @StephenOstermiller see this, I am asking because I am using these images on the website and its the CLIENT that downloads the image. Therefore, the larger the image, the lower the performance of the website.