The images not appear in the english version of the site


I use HUGO for an online help site

the default language is French, but there’s also an English version

in the English version, the page content appears but not the images

the tree structure is





languageCode = "en-FR
defaultContentLanguage = "fr

title = "documentation"
weight = 2
languageName = "English"
contentDir = "content"
landingPageURL = "/en"
landingPageName = "<i class='fas fa-home'></i> Home"

Do you have any idea why the images in the English version are not displayed?
Thanks in advance.

Hi @schwartz and welcome on this forum,

Is there a public Git repository hosting your code somewhere?
This would help you get relevant advice here.

See this page for detailed guidance.

First thanks for your response.

our deposit is not public yet

This means that you can’t help me ?


Assuming that you are (a) inserting the images using markdown, and (b) not using an image render hook, then…

With this content structure:

├── timeline/
│   ├──
│   ├──
│   ├── geo1.jpg
│   ├── geo2.jpg
│   ├──
│   └──

And this site configuration:

defaultContentLanguage = 'fr'
defaultContentLanguageInSubdir = true

languageCode = 'fr-FR'
languageDirection = 'ltr'
languageName = 'Français'
title = 'My Title (fr)'
weight = 1

languageCode = 'en-US'
languageDirection = 'ltr'
languageName = 'English'
title = 'My Title (en)'
weight = 2

Your markdown in both and should be:



If you need additional assistance, post a link to the public repository for your project.

See Requesting Help.

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.

Thanks for your reply.
I did indeed have a problem with the location of the files in the English version.
Thank you very much and have a nice day.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.