Pictures from SD card for Webserver FileSystem

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
Quantum8888
Posts: 1
Joined: Mon Jun 29, 2020 3:17 pm
Contact:

Pictures from SD card for Webserver FileSystem

Post by Quantum8888 »

Hello!

I am working on basic W5500 Webserver, all files ( index.htm and pictures ) save in SD card.
HTML Web page working great, but I got problem in showing pictures.

I try to run simulation with this example "WebserverFiles.zip" I found in Wiki ( also in attach), and visit 192.168.1.104 by browser. Same issue shows up. Web page can't show pictures. Or get incomplete pictures from files folder like attach below:

Do you have working W5500 + SD card Webserver with pictures .fcfx for example?

B.R.

Peter
Attachments
192.168.1.104 Chrome.png
192.168.1.104 Chrome.png (10.56 KiB) Viewed 1111 times
192.168.1.104.png
192.168.1.104.png (19.1 KiB) Viewed 1111 times
WebserverFiles.zip
(14.95 KiB) Downloaded 140 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Pictures from SD card for Webserver FileSystem

Post by Benj »

Hello,

Please can you attach your embeded project and I'll have a look at that for you. Could be the card is not being initialised correctly?

I am also getting corruption on the JPEG image which is odd as the bitmap file is working ok and that's a larger file. I'll dig in and see whats going on. Looking at the console it sends most of the JPEG data file but then towards the end it just starts sending out NULLs?
Firefox.jpg
Firefox.jpg (13.67 KiB) Viewed 1077 times
Console.jpg
Console.jpg (123.16 KiB) Viewed 1077 times
Nulls.jpg
Nulls.jpg (26.67 KiB) Viewed 1077 times

Post Reply