Page 1 of 1
Incorporating images from Webserver(Generic/Flash) component
Posted: Fri Jun 25, 2021 1:07 am
by ssttrragmail
Where can I create a folder to put all the images to be correctly incorporated by the WebServer´s component pages ?
Re: Incorporating images from Webserver(Generic/Flash) component
Posted: Fri Jun 25, 2021 2:19 pm
by BenR
Hello,
If you're using the example from here.
https://www.flowcode.co.uk/wiki/index.p ... amic_Files
Then the .htm files and image files live in the same Files folder which should be in the same directory as the Flowcode project file.
Re: Incorporating images from Webserver(Generic/Flash) component
Posted: Sat Jun 26, 2021 4:31 am
by ssttrragmail
Thanks for the return !.
Specifically, I´m trying to load a simple icon "FC8.bmp" image in the "index.htm", as part of an ESP32 WebServer page.
I´ve understood that the "images" and the "fcfx" files must be in the same directory. Is this correct ?
But it seems that didn´t work in this case - the image does not load after the simulation starts and the page loads.
Could someone give some clue to overcome this fact ?
Re: Incorporating images from Webserver(Generic/Flash) component
Posted: Sat Jun 26, 2021 12:10 pm
by BenR
Hello,
The embedded html source type cannot display external inage resources. You can only use images with the dynamic file type webserver setting. The example in the wiki I linked to should show you how it works.
Let us know how your getting on.
Re: Incorporating images from Webserver(Generic/Flash) component
Posted: Mon Jun 28, 2021 6:17 am
by ssttrragmail
I will. I "neeleety" (need little time) on it.
Thanks.