Pico w webpage

hi, l am using a pico w and have made a webpage to control my motorized alfresco tv. I have the up and down buttons working and would like to add an image in between the buttons just to give it a more custom look. I have the image details as <img src='““, alt=”tv screen”>. I have loaded the image onto the pico w and have resized the image to suit the overall design, but doesn’t show the image. Can an image be loaded onto the pico, any help would be appreciated, thank you

1 Like

Hey there, @Peter214711, and welcome to the forum. Glad to have you here.

I’ve used SVG bitmaps before, but never proper images files. Nevertheless, it’s definitely possible. Good? Probably not. But possible.

From the peer, if you’re seeing the webpage then we can (likely) rule out the Python or C++ script. My thinking is that the peer is unable to access the image from the host because of directory mismatch.

If you haven’t done so already, could you try changing your src to src=‘PICO’s_IPADDRESS/path/to/myimage.jpg’ and see if that fixes it. Or the domain if you’re using DNS.

thank you, l will try that

2 Likes

Perfect, let us know how it goes.