Incorporating images from Webserver(Generic/Flash) component

For general Flowcode discussion that does not belong in the other sections.
Post Reply
ssttrragmail
Posts: 29
http://meble-kuchenne.info.pl
Joined: Sat Nov 21, 2020 10:38 pm
Has thanked: 18 times
Been thanked: 2 times

Incorporating images from Webserver(Generic/Flash) component

Post by ssttrragmail »

Where can I create a folder to put all the images to be correctly incorporated by the WebServer´s component pages ?

BenR
Matrix Staff
Posts: 1952
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 510 times
Been thanked: 698 times

Re: Incorporating images from Webserver(Generic/Flash) component

Post 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.

ssttrragmail
Posts: 29
Joined: Sat Nov 21, 2020 10:38 pm
Has thanked: 18 times
Been thanked: 2 times

Re: Incorporating images from Webserver(Generic/Flash) component

Post 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 ?
Attachments
fig 1.jpg
fig 1.jpg (58.58 KiB) Viewed 3594 times
fig 2.jpg
fig 2.jpg (20.11 KiB) Viewed 3594 times
fig 3.jpg
fig 3.jpg (55.58 KiB) Viewed 3594 times

BenR
Matrix Staff
Posts: 1952
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 510 times
Been thanked: 698 times

Re: Incorporating images from Webserver(Generic/Flash) component

Post 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.

ssttrragmail
Posts: 29
Joined: Sat Nov 21, 2020 10:38 pm
Has thanked: 18 times
Been thanked: 2 times

Re: Incorporating images from Webserver(Generic/Flash) component

Post by ssttrragmail »

I will. I "neeleety" (need little time) on it.
Thanks.

Post Reply