diff --git a/worker/imgproxy.js b/worker/imgproxy.js index d4b249e6..20d88604 100644 --- a/worker/imgproxy.js +++ b/worker/imgproxy.js @@ -114,7 +114,7 @@ export const createImgproxyUrls = async (id, text, { forceFetch }) => { imgproxyUrls[url] = {} for (const res of resolutions) { const [w, h] = res.split('x') - const processingOptions = `/rs:fill:${w}:${h}` + const processingOptions = `/rs:fit:${w}:${h}` imgproxyUrls[url][`${w}w`] = createImgproxyUrl(url, processingOptions) } }