Re: Issues using images.
Posted: Wed Jan 16, 2019 3:44 am
Good Science For You wrote:If you have anyone you know with a website that you can upload the photos to, would allow larger images.
That won't work since a client can't access any other network than the ESP at the time when getting the page from the captive portal.
Possible reasons why it doesn't work:
- Image too large: make it smaller
- Image of wrong type: make sure it actually is in the format the extension reflects
- Image not accessible: put it in SPIFFS and try (as a test) to retrieve it separately by invoking the URL of the image directly
- Link to image in HTML-page is incorrect: make sure the link is relative
- Too many open connections: an ESP can only handle 5 connections at any given time (remember that each file, including the HTML itself, referenced inside a page counts as 1 connection)
- The code is blocked serving other files (your image) while the HTML-page is sent (and parsed by the client)