An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

        







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](#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 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):
```

```
- 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)

---------------