I\'ve got a script that dynamically calls and displays images from a directory, what would be the best way to paginate this? I\'d like to be able to control the number of i
If you name your images 01.jpg, 02.jpg it makes it easier to paginate. Then use glob to get all the images into an array and sort it.