'Importing static image in project with image loader using next-image

The project I'm working is using an image loader configured in its next.config.js.

The thing is, I don't have access to its cloud so I can't upload it, so I need to import the image statically from on the project.

How can I import an static image in the project, since its configured to use a loader?

I tried importing it in the file I'm working, but can't manage to make it work.

I'm using the Image component, and running the project locally. The project is configured to use the Cloudinary Loader and no CSP is configured.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source