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
2.05k stars 201 forks source link

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

Closed skrleo closed 3 months ago

skrleo commented 5 months 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 5 months 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
kleisauke commented 4 months ago

@skrleo Were you able to make any progress with this?

kleisauke commented 3 months ago

I hope this information helped. Please feel free to re-open if questions remain.