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.
Web image server for kiosk, wall tablet, etc.
- Kwai chang caine
- Always Here
- Posts: 5357
- Joined: Sun Nov 05, 2006 11:42 pm
- Location: Lyon - France
Re: Web image server for kiosk, wall tablet, etc.
Compiled fine here W7 X86 / v5.70 X86
Thanks for sharing all this works
Thanks for sharing all this works
The happiness is a road...
Not a destination
Not a destination
Re: Web image server for kiosk, wall tablet, etc.
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!
- Kwai chang caine
- Always Here
- Posts: 5357
- Joined: Sun Nov 05, 2006 11:42 pm
- Location: Lyon - France
Re: Web image server for kiosk, wall tablet, etc.
I have compiled the last version and that works too
The happiness is a road...
Not a destination
Not a destination