simple PHP code | No Comments | November 17th, 2011
The following function will rename all of the image files in a directory to be sequential. The parameters are the path of the directory that the files are in and the name of a function that will be used to sort the array of files through the PHP usort() function.
[code]
function sequentialImages($path, $sort=false) {
$i = [...]








