Created by Luke Brown, free for adaptation. Photos are also taken by myself. All I ask if you found this useful please star my repo.
- This php script will search through your specified directory and load all sub directories inside of it into an array.
- However use can use $blacklist to remove any directories that you choose not to display like the linux . and .. for example.
- From this while the array is been looped it will then display each image inside this sub directory.
- I have include the four types of arrays to help you choose and adapt which ever method is best for you.