Skip to content

takeshape/netlify-next-image-repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vercel

Image loads: https://netlify-next-image-repro.vercel.app/

Netlify

Image does not load: https://precious-beijinho-b723ec.netlify.app/

Steps to create this project

  1. Create project
$ npx create-next-app@latest nextjs-blog --use-npm --example "https://github.com/vercel/next-learn/tree/master/basics/learn-starter"
  1. Edit pages/index.js to add a large image using next/image.
  2. Add a simple next.config.mjs file to configure next/image with a couple other common settings.
  3. Configure Vercel deploy, totally basic, no settings or env variables touched.
  4. Configure Netlify deploy, totally basic, no settings or env variables touched.