next/image doesn't work at all but img works
Unanswered
West African Lion posted this in #help-forum
West African LionOP
so i tried using Image component but then i get this error
please how to fix this i'm using version 14 and app router
⚠ Fast Refresh had to perform a full reload when \bibleapp\\bible\\node_modules\\next\\dist\\client\\image-component.js","ids":[]} changed. Read more: https://nextjs.org/docs/messages/fast-refresh-reloadplease how to fix this i'm using version 14 and app router
4 Replies
West African LionOP
hello everyone please i need help
can you show how're you using the Image component
@Shaurya can you show how're you using the Image component
West African LionOP
<Image src={'/cross.jpg'} className="w-full h-screen opacity-50" height={876} width ={544} alt="image"/> when i use :
<img src={'/cross.jpg'} className="w-full h-screen opacity-50" alt="image"/>it works, so i'm sure it's a next/image bug i'm on version 14.2.3
my other projects with next/image works
West African LionOP
next won't see this bug