I'm new to go and web apps and trying do write an app that reads menu items from a database and send the item's description and the link of a picture related to it through an HTML page for a browser. The app will run on a local network so the image will be in a place like "c:\images\01.png". As of now the page source created is something like
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p> <a href="http://localhost:8000/api/getitensdomenu/33">Bolinho de Aipim</a><img src="01.png" alt="Ícone do Menu" width="42" height="42"></p>
<p> <a href="http://localhost:8000/api/getitensdomenu/32">Bolinho de Bacalhau</a><img src="01.png" alt="Ícone do Menu" width="42" height="42"></p>
</body>
where 01.png is the picture file located on the same folder as the go serever app on the LAN server. Of course it will show the same file, but this is a test. In the real app there will be image folders and each item will have its corresponding image, of course.
Well, the page is created ,sent and shown correctly but the image is not shown. I believe this is an HTML problem, at which I'm not an expert, because if I change the src tag for anything online (e.g. the link to a picture on an Internet Server using http) the page created is able to fetch and exhibit the image properly.
Unfortunately I must be able to solve this problem without using any resource beyond the LAN to which the server and client browsers will be connected.
Thanks for any help.