/Web/thumb.php |
---|
53,6 → 53,8 |
$thumb_width = $width; |
$thumb_height = $height; |
} |
$black = ImageColorAllocate($image, 0, 0, 0); |
ImageString ($image, 1, $img_width-50, $img_height-10, "www.mlab.cz", $black); |
if($remove_thumb == false){ |
$thumb = imagecreatetruecolor($thumb_width, $thumb_height); |
imagecopyresampled($thumb, $image, 0, 0, 0, 0, $thumb_width, $thumb_height, $img_size[0], $img_size[1] ); |