-
Notifications
You must be signed in to change notification settings - Fork 10
FileServer.h --> not showing right path to images #1
Comments
I don't use the same version as you. Do I ?
I can find no « html += " expression. |
Something that may be related.. 1.0.12 works fine. I did notice the change in the code for the "/view" vs "/view/" portion. Something changed and it's not happy, at least for me. |
Since he started the repository EloquentEsp32cam , I think the author doesn't work anymore on the actual one. |
Is the original author not working on this anymore? |
I'm not sure, but when I wrote him a personnal message he invited me to adopt the new library. I wrote him one month ago a message about some modifications I suggested for the FileServer.h file. And until then, my modifications are waiting (see « pull requests » ) .... so is my conclusion (from what He wrote me and from the long delay to accept the pull request). |
Thank you Patriboom for your comments. This library itself is not so big, so I can usually find and fix bugs myself, but it takes time. I would, obviously, rather everything work correctly. It would be good to know that the original author has moved on to something else and is not maintaining this code, if this is indeed the case. Thank you all! |
Hello Ghmpi,
camera.aithinker is essential. With ESP32-cam, you have to include the libraries
even if you're using EloquentSurveillance mine also includes So, shortly, my first lines are:
And the first lines of the setup() are:
I have to say that I modified the code, so it's not so sure that the original did work at once. I merged the mvt detector and FTP file server. My code reads also config from microSD and write pictures on the same card. |
I tried your suggestions by including the two brownout include files, and the brownout disable line.. still the same thing. I don't believe the device is browning out. I tried windows 7, and windows 10, Chrome brower on each, plus an android device. Also tried an old version of Internet Explorer and a new version of edge. The newest 1.0.13 rotate code just does not seem to work. Also, in the main http page where the device lists the jpegs, I get "apture.jpg" instead of "capture.jpg"... this was also reported by someone else as a bug. I can't put more time into this right now.. this project was just for fun. I'll do some more research in the future, maybe I'll look at your fork or revisit this again as well. Thank you for your time. Regards, |
Sometime, it is as simple as too long delay for browser. Just refresh your page and the image may show up. |
Did you find an answer ? |
Great library! Thanks !
I found one error in file: FileServer.h
line 60: html += F("</td><td><a href=\"/view");
should end with an / after view/
line 60: html += F("</td><td><a href=\"/view/");
and
line 63: html += filename.substring(0);
instead of filename.substring(1)
The text was updated successfully, but these errors were encountered: