next-images Questions

8

Solved

You guys know what may cause this error? Help will be highly appreciated. This error suddenly started and can't figure out why. Any source I find related to this topic also didn't help, such as npm...
Merril asked 4/2, 2022 at 21:4

5

Solved

I am using Nextjs ,a React-based framework, and i am trying show the logo.png image in Image component which is provided by Next.js. I have this folder: public/img and this is my code: <Image s...
Calves asked 17/8, 2022 at 10:19

7

Solved

I am using next.js 11.1.0 , my images are not showing saying (image below). I tried upgrading to next.js 12 but the problem still persist. I also tried using img tag and it works fine, just next/im...
Vergievergil asked 7/5, 2022 at 11:56

5

Solved

I am trying to import an SVG image from file into a Next.js component. In the assets folder I have google.svg (icon): <svg className="svgIcon-use" width="25" height="37&...
Stope asked 23/5, 2019 at 13:15

6

Solved

I am using next/image to render my image like this: <Image src={imageLink} width="1920" height="512" alt="Hero Image" /> This is fine for screen widths...
Epiphora asked 22/10, 2021 at 15:21

1

I've created a nextjs app within my NX monorepo and I've started porting an existing NX app (within the same monorepo) to it. My NX monorepo is set up with many alias's, all of them configured with...
Evette asked 9/5, 2022 at 23:41

6

Solved

I have a hero with multiple images, I want to display images according to screen sizes, for example, if the user is using a big screen, the hero will load the large/wide images, and if he uses a ph...
Mailand asked 19/11, 2022 at 1:13

5

Solved

when I want to export my nextjs app, it says that I cannot export my images on static websites. Error: Image Optimization using Next.js' default loader is not compatible with next export. Possible...
Cham asked 27/12, 2021 at 20:25

1

I have a problem with serving a static image from my public/images folder. It correctly displays in the files I've been working on so far EXCEPT the dynamic file [itemId].js (shown in the picture b...
Thomasinathomasine asked 10/7, 2021 at 12:58
1

© 2022 - 2025 — McMap. All rights reserved.