mirror of
https://github.com/acid-info/logos-press-engine.git
synced 2025-02-21 13:48:26 +00:00
fix: use auto=format qs for unbody images
This commit is contained in:
parent
77af0ca56f
commit
32f8035d6f
@ -16,7 +16,7 @@ export type Props = {
|
|||||||
} & ResponsiveImageProps
|
} & ResponsiveImageProps
|
||||||
|
|
||||||
const unbodyImageLoader: ImageLoader = ({ src, width, quality }) =>
|
const unbodyImageLoader: ImageLoader = ({ src, width, quality }) =>
|
||||||
`${src}?w=${width}&q=${quality || 75}`
|
`${src}?w=${width}&q=${quality || 75}&auto=format`
|
||||||
|
|
||||||
export const ResponsiveImage = ({
|
export const ResponsiveImage = ({
|
||||||
data,
|
data,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user