So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By pablopablo
#80020 Hey everybody,

First time posting :D

So I am working on a project using a Huzzah ESP8266 with Arduino IDE. Basically what I am trying to acheive is that when a user accesses wifi (selects SSID), a captive portal page will open. This CPP will contain either an image or .gif.

I have been loosely following YourSunny's project https://yoursunny.com/t/2017/freewifi/

However, although I can get the CPP up + working, the image appears as a broken link.

So, I tried something simpler and just tried to have a html page with an image in it, for this I followed this tutorial
https://circuits4you.com/2018/01/31/upl ... -web-page/

However, I'm still having the same problem.

I should also say that when I test the page before uploading, it works no problem.

Completely puzzled, any suggestions greatly appreciated!
User avatar
By pablopablo
#80068 Just giving this a bump but also to say that to say that

I have been reading A-Beginner's-Guide-to-the-ESP8266 http://www.esploradores.com/wp-content/ ... 8266-1.pdf

On Page 34 it states (Only use small files like text files or icons. There's not enough space for large photos or videos.)

I wonder now if this is the issue? The jpegs/png I have tried have all been under 1mb.
User avatar
By pablopablo
#80069 Just giving this a bump but also to say that to say that

I have been reading A-Beginner's-Guide-to-the-ESP8266 http://www.esploradores.com/wp-content/ ... 8266-1.pdf

On Page 34 it states (Only use small files like text files or icons. There's not enough space for large photos or videos.)

I wonder now if this is the issue? The jpegs/png I have tried have all been under 1mb.
User avatar
By Good Science For You
#80079
pablopablo wrote:Just giving this a bump but also to say that to say that

I have been reading A-Beginner's-Guide-to-the-ESP8266 http://www.esploradores.com/wp-content/ ... 8266-1.pdf

On Page 34 it states (Only use small files like text files or icons. There's not enough space for large photos or videos.)

I wonder now if this is the issue? The jpegs/png I have tried have all been under 1mb.


Because I have a website and can use that for images, all one needs is to publish the reference address of the images. If you have anyone you know with a website that you can upload the photos to, would allow larger images. Actually any size that will fit on a web page and as many as you want. You should limit them to 70% of "perfect" image to keep them smaller for faster loading. As a matter of fact all images load VERY fast this way.

Also, I found that using single lines of html code and sending that for each image allows a lot of manipulation of the images on the screen. Position by coding them.

If you want. I can upload them to one of my websites. And then you can address them in your code. Also there are places where you can get a really cheap website service.