So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By rohansagar4
#63596 so i wrote a small server in lua. Then i made a small page in html file which is linked to the server (lua code)
my website has an image which i uploaded onto the file system of nodemcu using the upload option in esplorer.
My webpage is being displayed but image does not show pls help me..

i linked the in=mage in html file as you would in usual html

<p><img src="name_of_the_image.jpeg" width= "1000" height="400" > </p>
User avatar
By jeffas
#63609 Is your image in the right place in the file system? If you give just the image filename, your browser will interpret it as relative to the path of the page; e.g. if the HTML page URL was http://your.server/some/place/page.html then the image would be expected at this URL http://your.server/some/place/name_of_the_image.jpeg
If the image file is somewhere else, try using a full URL as the src value, or at least a full path.