GithubHelp home page GithubHelp logo

scottgriv / php-display_solution Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 456 KB

Cycle through image files in a declared directory for informative displays.

License: MIT License

PHP 100.00%
php utility utility-app utility-application utility-script display-solution

php-display_solution's Introduction

PHP Badge
GitHub Badge Email Badge BuyMeACoffee Badge
Bronze


Display Solution

Cycle through image files in a declared directory for informative displays.


Table of Contents

Getting Started

Usage

  • Go to the full Display_Solution.php web server address in your web browser.

    ex. http://localhost/Folder/Display_Solution.php

  • The naming scheme for the images will be an incremental number in order to control the sequence of the images.

    ex. 1.jpg, 2.jpg, 3.jpg....10.jpg, etc.

Deployment

Edit the config.ini file with the necessary parameters to run, ex:

  • directory = the directory the images folder will be in with backward slashes '\'
  • countDirect = the same directory as the 'directory' parameter above, except the folder slashes are forward slashes '/' not back slashes
  • extension = the file extension for the images, this must be the same format for all the images ex. .jpg, .jpeg, .png
  • seconds = the number of seconds before the script will display the next image

A finished example of the config.ini should look something similar to this (you can change the image path to use remote folders, by default it uses the images folder in the script root directory):

[application]
directory = images
countDirect = images
extension = .jpg
seconds = 7

Customization

  • Go to Display_Solution.php and change the width and height in the following code to adjust the size of the slides (i.e. 100% for full screen):
<img src="docs/images/logo.jpg" width="100%" height="100%" id="rotator"/>
  • Feel free to add your company's logo by replacing the docs/logo.jpg file (which indicates the start of the slide show).

Resources

License

This project is released under the terms of the MIT License, which permits use, modification, and distribution of the code, subject to the conditions outlined in the license.

  • The MIT License provides certain freedoms while preserving rights of attribution to the original creators.
  • For more details, see the LICENSE file in this repository. in this repository.

Credits

Author: Scott Grivner
Email: [email protected]
Website: scottgrivner.dev
Reference: Main Branch


php-display_solution's People

Contributors

scottgriv avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.