Projeto

Geral

Perfil

expresso-01.diff

Mauricio Luiz Viani, 29/12/2016 11:05 h

Baixar (562 Bytes)

Ver diferenças:

show_thumbs.php 2016-11-30 11:54:12.522176414 -0200
34 34
               $theight =  $theight < 1 ? 1 : $theight; 
35 35
               $thumb = imagecreatetruecolor ($twidth, $theight);
36 36
               imagecopyresized($thumb, $pic, 0, 0, 0, 0,$twidth, $theight, $width, $height); # resize image into thumb
37
               imagejpeg($thumb,"",75); # Thumbnail as JPEG
37
               imagejpeg($thumb,NULL,75); # Thumbnail as JPEG
38 38
       }
39 39
?>