I'm uploading images on my ftp server in folder "uploads" to display them in a gallery. I want all of the images to have the same size, here's my php upload+display code, how do I do this?
$dir = "uploads/";
$images = scandir($dir);
$ignore = Array(" . ", " . . ");
foreach ($images as $img)
if (!in_array($img, $ignore))
{
$fp = $dir . $img;
echo "<img class='galleryimg' src='$fp' />";
}