I have built a web sever using the pico_htppd example which uses LWIP stack. It is working fine i.e.The webserver is able to join a WiFI network and the its webpage index.shtml is being accessed through client browser running on a desktop. I am implementing modifications as per my needs. Presently Rpi Logo is used as an image icon on the web page but I want to use different logo/ icon. Presently the index.shtml has a html tag : It perfectly shows the Rpi logo on the webpage. But when I replace the same statement by no image is displayed on the web page.The logo/icon image "dummy.png" is stored in same folder where RPi logo is saved.
Why the the other logo is not being displayed on the web page? does the LWIP works with only .png.gz and not on with .png? What is the way to show image of my choice as icon on the web page?
Code:
<p><img src="/img/rpi.png.gz"/></p>Code:
<p><img src="/img/dummy.png"/></p> Why the the other logo is not being displayed on the web page? does the LWIP works with only .png.gz and not on with .png? What is the way to show image of my choice as icon on the web page?
Statistics: Posted by Gsunrpif — Sun Oct 19, 2025 9:58 pm — Replies 1 — Views 48