This small examples implements an image slideshow using the
SnomIPPhoneImageFile tag and the
Images are sored into the images folder, the php scripts increments the image number to retrieve.
- Add the
slideshow.phpin your web server (PHP must be enabled)
- Setup your Snom phone in order to retrieve the PHP script
Usage in a Docker container
This repo provides also a ready to use Dockerfile in order to run the script in a self-contained Docker container without the need to install PHP and Apache into the host machine:
- Build the container image:
docker build -t apache-php .
- Run the script into the container:
docker run -it --rm --name apache-php -p 8080:80 -v $(PWD):/var/www/html apache-php
- Now you can access the application via http://IP_address/slideshow.php