question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Image in custom footer doesn't show up

See original GitHub issue

Hello jupyter book, I am having an issue incorporating an image into the html-footer of my jupyter book.

Here is, what my _config.yml looks like:

html:
  extra_footer: |
    <p>
    <img src='img/logo.jpg' alt='Logo'>
    </p>
    
    
sphinx:
  config:
    html_show_copyright: false

I have made sure, I am using the correct path/filename/no typos etc. and I have tried other formats like bmp or png. But still nothing works. I cant get the image to appear in the footer.

Any ideas how to solve this?

P.S.: I am working on windows 10 pro and I have downgraded to python 3.7.10, since there is an issue with python 3.8 and windows.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
AndreGismocommented, Jul 28, 2021

yes, the absolute path worked! Thanks for the tip!

Would it also be possible to use the URL of my github account where this image lies? So that my _config.yml would look like:

html:
  extra_footer: |
    <p>
    <img src='https://github.com/AndreGismo/<book-name>/img/logo.jpg' alt='Logo'>
    </p>
    
    
sphinx:
  config:
    html_show_copyright: false
0reactions
AndreGismocommented, Jul 28, 2021

ah, and at the time it’s really just one page (made of a jupyter notebook) that is right in the root folder of the book (where the _config.yml and _toc.yml are), so there are no subfolders. The path is relative to this one page.

Read more comments on GitHub >

github_iconTop Results From Across the Web

html - Images won't show in footer - Stack Overflow
They are in my image map, included right etc but can't seem to figure out why they are not showing up? Tried so...
Read more >
Footer image no longer appears - Squarespace Forum
Recently, we've discovered that the image in the footer of our site no longer appears. It did used to show up, but it...
Read more >
Background image in footer not showing if there is an easy ...
In the footer, the background image does not show if, and only if, the easy slider is on the page and has an...
Read more >
Add images to a header or footer - Microsoft Support
Add images to a header or footer · Go to Layout > View > Page Layout. · On the Header or Footer pop-up...
Read more >
Custom Footer Banners not showing up on page
Custom Footer Banners not showing up on page ... However, adding these images into the HTML section in the footer only allows for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found