Q:

Download a small version of a huge image - Client side - Without backend function - javascript

Is it possible to download different sizes of an image?
For example I have 3000*3000 px image:
https://via.placeholder.com/3000x3000
So when my javascript code runs in Android, We just need a 1000*1000 image. I know its possible to resize this image after download ( For example using canvas).
But Is it possible to download a small version of this image without running a code in backend? Just client side. 

A:

I don't think that is possible without backend code. I suppose it's possible to somehow load only part progressive JPEG and it may look ok when downsized locally. Usually it is not hard to add backend code to server specific image sizes. That could work like this: https://via.placeholder.com/my_img.jpg?size=1000x1000
I found some interesting ideas here:
How to load a part of a progressive image?

