2026 년 4 월

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

 
그누스킨 그누소스 소스변경 소스문법 홈준비 기타
 
작성일 : 07-01-20 23:45
[소스문법] gd_gallery image resizing
 글쓴이 : Morning (124.♡.112.66)
조회 : 4,013  
   http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=41212&page=5 [1585]
세로로 긴 이미지는 무작정 길어져 버리네요...
list.skin.php를 다음과 같이 수정 해서 쓰고 있습니다.
 
=== 수정전 대략 78~84라인====
==== 수정후 =====
$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);

주님과 함께 모닝커피를

 
 

Total 167
번호 제   목 글쓴이 날짜 조회
92 [소스문법] include() (5) Morning 02-03 7099
91 [소스문법] 제어 구조의 대체 문법 Morning 02-03 5571
90 [소스문법] elseif Morning 02-03 5488
89 [소스문법] else Morning 02-03 5533
88 [소스문법] if (2) Morning 02-03 5988
87 [소스문법] for (1) Morning 02-03 5437
86 [소스문법] 흐르는 글 Morning 01-31 5354
85 [소스문법] 보더를 이용해서 box 만들기 Morning 01-26 5670
84 [소스문법] A라면 A해라 Morning 01-22 4063
83 [소스문법] gd_gallery image resizing Morning 01-20 4014
82 [그누스킨] 다중게시판 Morning 01-18 4691
81 [그누스킨] morning_webzine1 Morning 01-17 4601
80 [그누스킨] morning_webzine2 Morning 01-14 4042
79 [그누스킨] morning_webzine Morning 01-14 3999
78 [소스문법] 여분필드에 기본값 입력하기 (1) Morning 01-14 4441
 1  2  3  4  5  6  7  8  9  10    

Therefore, holy brothers, who share in the heavenly calling,
fix your thoughts on Jesus, the apostle and high priest whom we confess.
Let us fix our eyes on Jesus, the author and perfecter of our faith,
who for the joy set before him endured the cross, scorning its shame,
and sat down at the right hand of the throne of God