Image link

Hi
I have placed my images in the static folder.

When I try to use a image with:

![](/image.jpg)

I get the error:

Image not found
If you feel that this should not be logged as an ERROR, you can ignore it by adding this to your site config:
ignoreErrors = [“image-not-found”]

The image is there and I can “see” it when i type the markdown code.
Are the a place where I have to specify that the images are in the static folder?

Best
Tue

Please post a link to the public repository for your project.

See https://discourse.gohugo.io/t/requesting-help/9132.

Let us see your code

Include a link to the source code repository of your project, because we really need the context of seeing your templates and partials to be able to help you. It is trivial to do a quick git clone on your repo, then run hugo server in your project, to help you out. On the other hand, recreating your code from screenshots, or sort of guessing at it, is not.

If you can’t share your repository for whatever reason, consider creating a dummy repo that you can share, which reproduces the problem you’re experiencing.

Yes sure it is - officegeek/dtu2: DTU kursus (github.com)

Best
Tue

See node_modules/@hyas/doks/layouts/_default/_markup/render-image.html.

This image render hook expects the image to be:

  • Remote (e.g., https://example.org/foo.jpg) OR
  • A page resource

I suggest you raise your question here:
https://github.com/h-enk/doks/discussions

Ok, thanks I will do that :slight_smile:

Best
Tue