Web image server for kiosk, wall tablet, etc.

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
bytecave
User
User
Posts: 40
Joined: Mon Aug 13, 2012 7:26 am

Web image server for kiosk, wall tablet, etc.

Post 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
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5357
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

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

Post by Kwai chang caine »

Compiled fine here W7 X86 / v5.70 X86
Thanks for sharing all this works 8)
ImageThe happiness is a road...
Not a destination
bytecave
User
User
Posts: 40
Joined: Mon Aug 13, 2012 7:26 am

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

Post 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!
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5357
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

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

Post by Kwai chang caine »

I have compiled the last version and that works too 8)
ImageThe happiness is a road...
Not a destination
Post Reply