Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pictures' url error when exporting as HTML #1628

Closed
kikyoulin opened this issue Mar 3, 2018 · 7 comments
Closed

Pictures' url error when exporting as HTML #1628

kikyoulin opened this issue Mar 3, 2018 · 7 comments
Labels
bug 🐛 Issue concerns a bug.

Comments

@kikyoulin
Copy link

kikyoulin commented Mar 3, 2018

imgbug
picture1 (the source code of some picture in html file)

picture2
picture2 (open html file with browser)

I think it should be something like
src="X:\xxx...\images\xxxxx.png", or src="./images/xxxxx.png"(if pictures can copy while exporting as html)

by the way, I do this now:

  1. replace the url with edit tools like notepad
  2. open with browser(pictures show normally) & save as...
    Then the html can be portable.
@Rokt33r
Copy link
Member

Rokt33r commented Mar 4, 2018

I can not understand what the problem is. What happens if we keep using relative path for images?

@kikyoulin
Copy link
Author

Sorry for a bad description.
The problem is, if I export a note as a HTML file to some folder, and read it with Chrome, the pictures can't present normally (as picture 2, it is a cross).
As picture 1, browsers can't recognize this relative path.

@nlopin
Copy link
Contributor

nlopin commented Mar 18, 2018

Hi @kikyoulin!
What version of the app do you have? Can you show the original content of the note?

@Bubka
Copy link

Bubka commented Mar 29, 2018

Hi,
Same issue here with BoostNotes 0.11.3

My MD code:

[![arrowUp.png](\:storage\0.1m3ufuqf63n.png) Retour au sommaire](#Sommaire)

The exported HTML code:

<a href="#Sommaire">
  <img src=":storage%5C0.1m3ufuqf63n.png" alt="arrowUp.png"> Retour au sommaire
</a>

The export feature do not copy images to the destination folder (i just have a .\css subfolder) and the path set in src attributes are inconsistent in the HTML code.

@nlopin
Copy link
Contributor

nlopin commented Mar 29, 2018

You have an image with a link. I'll test it today and fix on weekend

@Rokt33r Rokt33r added the bug 🐛 Issue concerns a bug. label Mar 29, 2018
@Bubka
Copy link

Bubka commented Mar 29, 2018

The issue occurs even with stand alone images

@Flexo013
Copy link
Contributor

Flexo013 commented Aug 6, 2019

This issue does not seem to be present in the latest version of Boostnote.

Feel free to reopen the issue if you still experience this issue.

@Flexo013 Flexo013 closed this as completed Aug 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Issue concerns a bug.
Projects
None yet
Development

No branches or pull requests

5 participants