You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now you can use &filename= to set the filename for an image but otherwise it's always image.jpg/image.webp etc.
It would be nice if by default it would just keep the filename from the Content-Disposition header of the original file. (Changing the extension depending on &output=.)
If the original location doesn't have a Content-Disposition header you could just set the filename based on the last part of the url. (The same as the browser would name it automatically if you download it from the original location.)
So images.weserv.nl/?url=example.com/a/xxx.jpg&output=webp the filename would become xxx.webp.
You could then use &filename= to overwrite the original filename.
The text was updated successfully, but these errors were encountered:
Right now you can use
&filename=
to set the filename for an image but otherwise it's always image.jpg/image.webp etc.It would be nice if by default it would just keep the filename from the Content-Disposition header of the original file. (Changing the extension depending on
&output=
.)If the original location doesn't have a Content-Disposition header you could just set the filename based on the last part of the url. (The same as the browser would name it automatically if you download it from the original location.)
So images.weserv.nl/?url=example.com/a/xxx.jpg&output=webp the filename would become xxx.webp.
You could then use
&filename=
to overwrite the original filename.The text was updated successfully, but these errors were encountered: