Why the picture is clearly in the static folder, but it still cannot be located by the render_image.html file?
hearecho opened this issue · comments
hearecho commented
err:
execute of template failed: template: _default/_markup/render-image.html:4:125: executing "_default/_markup/render-image.html" at <imageConfig (printf "static/%s" .Destination)>: error calling imageConfig: open F:\Road\static\1.png: The system cannot find the file specified.
WingLim commented
Example usage:
There is a image.png
in static
root folder.
You should insert image with markdown like this:
Note: It's necessary to add /
![](/image.png)
WingLim commented
And it looks like this error is under windows?
It work fine in macOS.
hearecho commented
Thanks, I have solved the problem. The path was strictly case sensitive, so it caused the image not to load.
WingLim commented
Ok, hope you can enjoy the theme.