Im trying to rezise some images that are imported from a folder. It doesent matter if it only show the realpicture as a thumbnail since the size of the file wont be much larger than 500kb,
Is there a way I can make the images as clickable images ? I have google it , but cant seem to find a solution that helps me.
This is the code that reads from the folder
$files = glob("uploads/*.*");
for ($i=1; $i<count($files); $i++)
{
$num = $files[$i];
echo '<img src="'.$num.'" alt="random image">'." ";
}