I am having a problem with the image src that I am trying to upload in my dApp. I have the height and width properties set but it still shows the following error:
Uncaught Error: Image with src "https://vivi-project.infura-ipfs.io/ipfs/Qmc5VkpgsRbiyxG1152WVfnHgZ4caqVLJDSrUPYhX9TdCP" must use "width" and "height" properties or "layout='fill'" property.
I have the properties set as: `
<Image
src={fileUrl}
alt="Picture of the NFT"
className="rounded mt-4"
width={350}
height={500}
//blurDataURL="data:..." automatically provided
//placeholder="blur" // Optional blur-up while loading
/>
`
I have looked at solution: NextjS Image issue with src and default external image URL
and looked at the Nextjs documentation https://nextjs.org/docs/api-reference/next/image