Browse Source

PNGs for thumbnails.

pull/40/head
Savetheinternet 14 years ago
parent
commit
ef39c6ab47
  1. 2
      inc/functions.php

2
inc/functions.php

@ -353,7 +353,7 @@
$tmp=imagecreatetruecolor($tn_width, $tn_height);
imagecopyresampled($tmp, $src, 0, 0, 0, 0, $tn_width, $tn_height,$width,$height);
imagejpeg($tmp,$destination_pic,100);
imagepng($tmp, $destination_pic, 100);
imagedestroy($src);
imagedestroy($tmp);

Loading…
Cancel
Save