Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 6814

General • How to replace the RPi Logo with different logo on web page of Web server hosted on Rp-PICO2W

$
0
0
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 :

Code:

<p><img src="/img/rpi.png.gz"/></p>
It perfectly shows the Rpi logo on the webpage. But when I replace the same statement by

Code:

<p><img src="/img/dummy.png"/></p> 
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?

Statistics: Posted by Gsunrpif — Sun Oct 19, 2025 9:58 pm — Replies 1 — Views 48



Viewing all articles
Browse latest Browse all 6814

Trending Articles