Dave,
There are couple of ways to do this, but I'll go through the way I have done a similar application.
The first thing to do is to get the contents of the image folder (this is assuming that all images are located in the same folder).
You can use a PHP function "scandir('imagefolderhere')" to learn about what is contained in a particular folder. You could create an array first, such as:
$mynewimagearray = scandir('imagefolder');
After doing that, you could loop through the results - but make sure you only accept results that are truly images - because remember, there will be hidden "notes" files in there, as well.
To make sure you loop through image files only, you could run something like the getimagesize command on each item in the loop. Running getimagesize is nice because it will return the boolean value of FALSE if the item is not an image and therefore cannot be read by getimagesize.
So within the loop of array items you would create an if statement. If the Boolean value is TRUE - meaning that getimagesize actually reads the image and can get values you will let it display to the browser, as such:
$checkifimage = getimagesize['$arrayitem'];
if ($checkifimage) {
echo "<img src="yourimage">";
}
Now the code above is the most basic form... I would probably close out the PHP tags so I could just add basic HTML between and include the checkbox beside each item like this:
if ($checkifimage) } ?>
ADD WHAT EVER YOU WANT HERE... just remember that all PHP variable will have to be inside a PHP tag set
<?php } ?>
You could put your check box then right beside the image output and then wrap the entire thing inside a form. You could then make the value of the checkboxes - if checked - equal to the array item itself as that is also providing the name for the image source.
To, turn the images into thumbnails, you will need to use a script that does thumbnails on the fly. There are several out there and your image source name will change to look something like this:
<img src="resizescript.php?filename=$arrayItem&width=100&height=100">
Please note that the code above is arbitrary and just happens to be similar to code I used before where the $arrayItem is the actual image being resized by the script and the width and height attributes tell the script what dimensions to resize to.
The final step would be to get all the values checked and store them into an array - then loop through that array with the Digital File Pro delete behavior added into the loop so that it deletes each specified file.