I am new in programming.
I would appreciate some help.

I have a folder in my site where I save all images from snagit.
But instead of seeing file names, I would like to see the images themselves with the last ones uploaded on top.

Could you modify the file?

HTML Code:

    if ($handle = opendir('.')) {
    while (false !== ($file = readdir($handle)))
        if ($file != "." && $file != "..")
            $thelist .= '<LI>
			<a href="'.$file.'">'.$file.'</a>';

<P>List of files:</p>