A comprehensive [Contentful](https://www.contentful.com/developers/docs/references/images-api) image loader for the [Next.js Image component](https://nextjs.org/docs/api-reference/next/image).
npm install @delicious-simplicity/next-image-contentful-loaderA comprehensive Contentful image loader for the Next.js Image component.
- Allows for native Contentful image params/options
- Similar error boundaries as next/image
- Additional options for managing the aspect ratio of requested images
``tsx
import Image from "next/image";
import { contentfulLoader } from "@delicious-simplicity/next-image-contentful-loader";
const Component = ({ image }) => {
return (
<>
src={image.url}
alt={image.title}
width={image.width}
height={image.height}
/>
>
);
};
`
- next`