pablopablo wrote:- Image not accessible: put it in SPIFFS and try (as a test) to retrieve it separately by invoking the URL of the image directly
Not sure what you mean here, however when I have it in data file and open it in browser it works no problem.
You might have to change your code from being a captive portal to a regular webserver to check this:
- Connect to your ESP
- Open a browser window
- Surf to: http://IP.OF.YOUR.ESP/image.jpg
pablopablo wrote:- Link to image in HTML-page is incorrect: make sure the link is relative
I think I have this correct in hte html file (which is also in data folder) I haveCode: Select all<img src="image.jpg" width="600" height="600">
I have also tried thisCode: Select all<img src="/Users/Me/Desktop/wifi/data/image.jpg" width="600" height="600">
The first link should work, the second one won't since that's referencing a file on your PC and not the ESP.
You might need to precede the link with a dot and a forward slash (not sure if this is mandatory or not):
<img src="./image.jpg" />
And, like Rudy said: make sure the filename matches fully, including capitalization (been there, done that as well).