-
Notifications
You must be signed in to change notification settings - Fork 309
Closed
Description
Can someone provide a complete Cloudflare images example? No matter what I do, I can't get it to work.
nuxt.config.ts
image: {
domains: ['imagedelivery.net'],
cloudflare: {
baseURL: 'https://imagedelivery.net/<my-id>/',
},
},
When I use it like this:
<nuxt-img
provider="cloudflare"
src="rib-eye-steak-medium-rare.webp"
height="300"
:modifiers="{ fit: 'contain' }"
/>
this is what URL is requested: https://imagedelivery.net/<my-id>/cdn-cgi/image/w=1536,f=webp/rib-eye-steak-medium-rare.webp.
First: Where are the parameters like (w=1536) are coming from? Am I missing something here?
Metadata
Metadata
Assignees
Labels
No labels