/Web/thumb.php |
---|
57,7 → 57,7 |
$thumb = imagecreatetruecolor($thumb_width, $thumb_height); |
imagecopyresampled($thumb, $image, 0, 0, 0, 0, $thumb_width, $thumb_height, $img_size[0], $img_size[1] ); |
$black = ImageColorAllocate($thumb, 0, 0, 0); |
ImageString ($thumb, 3, $thumb_width-80, $thumb_height-15, "www.mlab.cz", $black); |
if ($filename <> "nopicture2.jpg") {ImageString ($thumb, 3, $thumb_width-80, $thumb_height-15, "www.mlab.cz", $black);} |
imagejpeg($thumb/*, "/tmp/".$filename*/); |
} |