Closed max-programming closed 1 month ago
@max-programming is attempting to deploy a commit to the Cloudinary DevX Team on Vercel.
A member of the Team first needs to authorize it.
@colbyfayock Should I update the nextjs-custom-image-loader example to be like these recently updated examples or do you want it to be as it is?
might as well update the other one just like the rest of the projects, but lets merge this one in for now to get it going. thanks @max-programming
This PR updates the Next.js Image Component Demos
nextjs-next-image-loader
nextjs-next-image-domain
Major changes
The custom loader function only acceptsquality
as a number, otherwise it is received asundefined
. Hence the options likeq_auto:best
don't work and fallback toq_auto
. So the user has to manually prepend the optimizations to thesrc
URL.quality
prop in Next.js Image only accepts a number, hence values likeauto_best
,auto:good
won't work with the loader approach