Thank you for reaching out. Please make sure the image file is located correctly relative to your HTML file, and that it is in a publicly accessible location if you are serving the HTML outside the repository.
I second this! Ai studio definitely struggles with displaying images, at least in my experience
I provided a link of an image for my app, and Gemini wrote in the code, but I ended up having to manually change the name of the link from the way it formatted the link in the code, and that ended up working instead for some reason.