staticallyio / statically

The CDN for developers.
https://statically.io
MIT License
585 stars 91 forks source link

image transformation doesn't work #67

Closed showeme closed 4 years ago

showeme commented 4 years ago

hello, Image transformation doesn't work if I use Force webp. Image URL: https://i.imgur.com/xjaMIKB.png image URL with statically and width setting: https://cdn.statically.io/img/i.imgur.com/xjaMIKB.png?w=200 image URL with statically, width and force webp setting: https://cdn.statically.io/img/i.imgur.com/xjaMIKB.png?w=200&format=webp

This problem I got for more than a week. I thought it was a temporary error.

Thanks.

Booligoosh commented 4 years ago

I'm having this issue as well when using width and WebP together.

This URL (without WebP) changes the width to 700: https://cdn.statically.io/img/codetheweb.blog/assets/img/posts/javascript-dialogs/cover.png?w=700

This URL (with WebP) does not: https://cdn.statically.io/img/codetheweb.blog/assets/img/posts/javascript-dialogs/cover.png?w=700&format=webp

fransallen commented 4 years ago

Hi there,

Please use f=auto instead. Even though format=webp still works, it will be abandoned in the future. Details on upcoming Docs. Follow @staticallyio for updates.

Cheers, Frans

Booligoosh commented 4 years ago

Thanks so much, that fixed it for me! ❤️

fransallen commented 4 years ago

Awesome!