Skip to content

Commit

Permalink
Update docs/api-reference/next/image.md
Browse files Browse the repository at this point in the history
Co-authored-by: Steven <[email protected]>
  • Loading branch information
leerob and styfle authored Jan 5, 2021
1 parent db79cec commit 364b2f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api-reference/next/image.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ A custom image `loader` to resolve URLs. Defaults to `images` object in `next.co
import Image from 'next/image'

const myLoader = ({ src, width, quality }) => {
return `https://customresolver.com/${src}?w~~${width},q~~${quality}`
return `https://example.com/${src}?w=${width},q=${quality || 75}`
}

const MyImage = (props) => {
Expand Down

0 comments on commit 364b2f4

Please sign in to comment.