1 0 Tag Archives: loop
post icon

Looping through images in the folder

name of the folder

$dt = $directory = “images/”;

code to loop through each image in the folder
$images = glob($directory . “*.jpg”);
foreach($images as $image)
{

}

Leave a Comment