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.84k stars 188 forks source link

How can I crop the format without using URL splicing? #420

Open skrleo opened 4 weeks ago

skrleo commented 4 weeks ago

Sometimes the image link is too long. If you use url splicing, the link will be too long.

I would like to use this link format:

Originally: https://wsrv.nl/?url=wsrv.nl/lichtenstein.jpg&w=300&h=300&fit=cover&mask=circle

Changed to: https://wsrv.nl/lichtenstein.jpg&w=300&h=300&fit=cover&mask=circle

I have to say that your project is amazing, thank you very much for your contribution

kleisauke commented 4 weeks ago

Hello, did you see https://github.com/weserv/images/issues/387#issuecomment-1699748390?

https://wsrv.nl/static/lichtenstein.jpg?w=300&h=300&fit=cover&mask=circle