Page 1 of 1

Web image server for kiosk, wall tablet, etc.

Posted: Sun Feb 09, 2020 8:55 am
by bytecave
I have several tablets mounted to my walls, each displaying a slideshow using ActionTiles(tm) (https://www.actiontiles.com/). Others do the same with DakBoard or SharpTools.io. If you are in a similar situation, you looked for a method to return a random image from a specified folder in response to an http request. ActionPixx (http://jayhobo.com/actionpixx) does a good job with this, except it repeats images. I was looking for a solution that guaranteed each image would be displayed at least once before any repeats.

ByteCave Image Server (BIS) is an open-source mini webserver that sends a random image to your browser when a client sends any GET request. You provide a recursively processed folder containing the images to display. Those images are then shuffled and never repeated–on a per client connection basis–until all images have been displayed once. The process then repeats itself for subsequent image requests.

You can specify different folders for each IP address connected through easy UI controls. Thumbnails show you which images are being served. The program can auto-launch on login, minimize to tray, and will remember your settings and numbers of images displayed each time you start.

BIS is a small (~600K) standalone, multi-threaded executable: no installation is required. It supports Windows XP and later, and can also be compiled as-is to run on Linux. As with my game, you can view the source code, or just compile it yourself!

PureBasic source code and binaries for both version 1 and version 2 are on GitHub. You can find download and GitHub links on my webpage: http://www.bytecave.net/software.

Image

Re: Web image server for kiosk, wall tablet, etc.

Posted: Wed Feb 12, 2020 12:36 pm
by Kwai chang caine
Compiled fine here W7 X86 / v5.70 X86
Thanks for sharing all this works 8)

Re: Web image server for kiosk, wall tablet, etc.

Posted: Sat Feb 15, 2020 11:03 pm
by bytecave
Thanks Kwai chang cain! If you're actually using it, might want to pick up the version I just posted. I was updating the thumbnails with SetGadgertAttribute in a thread which caused a memory leak an wonky UI after a few days of running. Now use PostEvent() to main window and update thumbnails there. Thank you for verifying it compiles!

Re: Web image server for kiosk, wall tablet, etc.

Posted: Mon Feb 17, 2020 7:41 pm
by Kwai chang caine
I have compiled the last version and that works too 8)