Hello,
Happy to see support for Markdown in Altap Salamander.
The viewer shows broken images.
If I right click and select "View Source", notepad opens and I see that the image HTML code is this:
<img src=".%5CzZ_assets%5CAnki.assets%5C1546471044201.png" alt="1546471044201" />
If I save the "viewed source" into an html file and view that html file with the Altap Salamander viewer, the image displays fine.
Is that a known problem ?
Thanks,
Pierre
Broken images in Markdown viewer
Re: Broken images in Markdown viewer
The viewer uses the about: scheme. Since your url did not use it's own scheme, the viewer could not locate the resource.
It's probably the same reason pressing F5 leaves you with an empty screen.
@Altap: maybe add a <base>-tag pointing to the .md's folder in order to fix @zorglups' problem?
It's probably the same reason pressing F5 leaves you with an empty screen.
@Altap: maybe add a <base>-tag pointing to the .md's folder in order to fix @zorglups' problem?
Re: Broken images in Markdown viewer
I now tried to add an image myself. Knowing that a relative path does not work I tried an absolute path, including file: scheme. This cause the resulting src property to be the empty string:
results in
Is this a bug or a security feature? Do I need to set up a web server in order to be able to embed pictures?
Code: Select all
![Skizze](file://HOST/SHARE/Path/image.jpg)
Code: Select all
<img src="" alt="Skizze" />