{"id":15046895,"url":"https://github.com/delicious-simplicity/next-image-contentful-loader","last_synced_at":"2025-10-28T19:31:53.630Z","repository":{"id":45537341,"uuid":"426368608","full_name":"delicious-simplicity/next-image-contentful-loader","owner":"delicious-simplicity","description":"A comprehensive Contentful image loader for the Next.js Image component","archived":false,"fork":false,"pushed_at":"2023-08-21T15:51:17.000Z","size":162,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-14T06:35:19.376Z","etag":null,"topics":["contentful","contentful-api","image","nextjs"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/delicious-simplicity.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-09T20:00:59.000Z","updated_at":"2024-03-12T18:24:20.000Z","dependencies_parsed_at":"2024-09-24T03:05:04.913Z","dependency_job_id":"4b3a8101-0e02-4aea-b206-79233b1fcc46","html_url":"https://github.com/delicious-simplicity/next-image-contentful-loader","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"653176bfa5aa0484aa5d04ab975b1d91654bdbf6"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delicious-simplicity%2Fnext-image-contentful-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delicious-simplicity%2Fnext-image-contentful-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delicious-simplicity%2Fnext-image-contentful-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delicious-simplicity%2Fnext-image-contentful-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/delicious-simplicity","download_url":"https://codeload.github.com/delicious-simplicity/next-image-contentful-loader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238710234,"owners_count":19517670,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["contentful","contentful-api","image","nextjs"],"created_at":"2024-09-24T20:53:42.942Z","updated_at":"2025-10-28T19:31:48.321Z","avatar_url":"https://github.com/delicious-simplicity.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[made with 💜 by [DS]](https://www.delicious-simplicity.com/)\n\n# @delicious-simplicity/next-image-contentful-loader\n\nA 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).\n\n### Features\n\n- Allows for native Contentful image params/options\n- Similar error boundaries as `next/image`\n- Additional options for managing the aspect ratio of requested images\n\n### Usage\n\n```tsx\nimport Image from \"next/image\";\nimport { contentfulLoader } from \"@delicious-simplicity/next-image-contentful-loader\";\n\nconst Component = ({ image }) =\u003e {\n  return (\n    \u003c\u003e\n      \u003cImage\n        loader={(props) =\u003e contentfulLoader(props, { fit: \"crop\", ar: \"1:1\" })}\n        src={image.url}\n        alt={image.title}\n        width={image.width}\n        height={image.height}\n      /\u003e\n    \u003c/\u003e\n  );\n};\n```\n\n### Required packages\n\n- [`next`](https://www.npmjs.com/package/next)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelicious-simplicity%2Fnext-image-contentful-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdelicious-simplicity%2Fnext-image-contentful-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelicious-simplicity%2Fnext-image-contentful-loader/lists"}