weserv / images

Source code of wsrv.nl (formerly images.weserv.nl), to be used on your own server(s).
https://wsrv.nl/
BSD 3-Clause "New" or "Revised" License
1.97k stars 193 forks source link

Some jpgs are not converted to the progressive format #385

Closed Dirk-27 closed 1 year ago

Dirk-27 commented 1 year ago

In #50 the progressive image feature is explained.

The example image

https://images.weserv.nl/?url=upload.wikimedia.org/wikipedia/commons/e/e0/JPEG_example_JPG_RIP_050.jpg&il

works also when we serve the image from our server.

But when we use https://cdn.vrdoro.com/data/vrdoro/images/11/D2DA86F06A753397A10995708417CC49.jpeg as

https://images.weserv.nl/?url=cdn.vrdoro.com/data/vrdoro/images/11/D2DA86F06A753397A10995708417CC49.jpeg?il

throttling the network we see that it is not progressive.

What is wrong here?

kleisauke commented 1 year ago

The ? character in a URL signifies the start of the query string. Additional parameters after that have to start with &.

-https://images.weserv.nl/?url=cdn.vrdoro.com/data/vrdoro/images/11/D2DA86F06A753397A10995708417CC49.jpeg?il
+https://images.weserv.nl/?url=cdn.vrdoro.com/data/vrdoro/images/11/D2DA86F06A753397A10995708417CC49.jpeg&il
Dirk-27 commented 1 year ago

Oh, sorry! Thats ok than!