https://github.com/scottgriv/php-display_solution
Cycle through image files in a declared directory for informative displays.
https://github.com/scottgriv/php-display_solution
display-solution php utility utility-app utility-application utility-script
Last synced: about 2 months ago
JSON representation
Cycle through image files in a declared directory for informative displays.
- Host: GitHub
- URL: https://github.com/scottgriv/php-display_solution
- Owner: scottgriv
- License: mit
- Created: 2023-07-12T23:31:46.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-09T04:18:00.000Z (4 months ago)
- Last Synced: 2025-03-28T18:32:30.982Z (about 2 months ago)
- Topics: display-solution, php, utility, utility-app, utility-application, utility-script
- Language: PHP
- Homepage:
- Size: 446 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
---------------
Display Solution
Cycle through image files in a declared directory for informative displays.
![]()
---------------
## Table of Contents
- [Getting Started](#getting-started)
- [Usage](#usage)
- [Deployment](#deployment)
- [Customization](#customization)
- [Resources](#resources)
- [License](#license)
- [Credits](#credits)## 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 imageA 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):
```![]()
```
- Feel free to add your company's logo by replacing the ``docs/logo.jpg`` file (which indicates the start of the slide show).## Resources
- [PHP](https://www.php.net/)
## 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](https://choosealicense.com/licenses/mit/) provides certain freedoms while preserving rights of attribution to the original creators.
- For more details, see the [LICENSE](LICENSE) file in this repository. in this repository.## Credits
**Author:** [Scott Grivner](https://github.com/scottgriv)
**Email:** [[email protected]](mailto:[email protected])
**Website:** [scottgrivner.dev](https://www.scottgrivner.dev)
**Reference:** [Main Branch](https://github.com/scottgriv/php-ftp_file_upload_utility)---------------