세로로 긴 이미지는 무작정 길어져 버리네요...
list.skin.php를 다음과 같이 수정 해서 쓰고 있습니다.
$rate = $board[bo_1] / $size[0];
$height = (int)($size[1] * $rate);
$dst = imagecreatetruecolor($board[bo_1], $height);
imagecopyresampled($dst, $src, 0, 0, 0, 0, $board[bo_1], $height, $size[0], $size[1]);
imagepng($dst, $thumb_path.'/'.$list[$i][wr_id], $board[bo_2]);
chmod($thumb_path.'/'.$list[$i][wr_id], 0606);
?>==== 수정후 ====
if ($size[0] >=
$size[1]) { $rate = $board[bo_1] / $size[0]; $width = $board[bo_1]; $height = (int)($size[1] * $rate); }
else { $rate = $board[bo_1] / $size[1]; $width = (int)($size[0] * $rate); $height = $board[bo_1]; }
$dst = imagecreatetruecolor($width, $height);
imagecopyresampled($dst, $src, 0, 0, 0, 0, $width, $height, $size[0], $size[1]);
imagepng($dst, $thumb_path.'/'.$list[$i][wr_id], $board[bo_2]); chmod($thumb_path.'/'.$list[$i][wr_id], 0606);
주님과 함께 모닝커피를