이미지마크가안떠요

  • ㅁㄴㅇㄹ
  • 2007.09.02 12:05:40
  • 4
이미지마크를 선택해서 등록을 누르면 이미지가안뜨고 하얀 이미지만 떠요...이미지 이름은 잘되는데 마크가 왜안되죠?

TagList

  • Doesn't exist

AttachmentFile List

  • Doesn't exist
목록으로 돌아가기
Write a comment
Comment List [4]
  • Simulz

    아~ 저도 안되네요.......원인 분석 중....

    Comment Sep 02, 2007

  • Simulz

    modules/member/member.controller.php 파일에서 808번째 줄을 보면 아래와 같은 줄이 있습니다.

    FileHandler::createImageFile($target_file, $target_filename, $max_width, $max_height, 'gif');

    이 줄을 삭제 하고 아래 문단을 삽입하세요.            

                // 파일 정보 구함
                list($width, $height, $type, $attrs) = @getimagesize($target_file);

                // 지정된 사이즈보다 크거나 gif가 아니면 변환
                if($width > $max_width || $height > $max_height || $type!=1) FileHandler::createImageFile($target_file, $target_filename, $max_width, $max_height, 'gif');
                else @copy($target_file, $target_filename);

    Comment Sep 02, 2007

  • ㅁㄴㅇㄹ

    저..말씀하신대로 고치려보니까 FileHandler::createImageFile($target_file, $target_filename, $max_width, $max_height, 'gif');  이렇게 안뜨고       // 파일 정보 구함
                list($width, $height, $type, $attrs) = @getimagesize($target_file);

                // 지정된 사이즈보다 크거나 gif가 아니면 변환
                if($width > $max_width || $height > $max_height || $type!=1) FileHandler::createImageFile($target_file, $target_filename, $max_width, $max_height, 'gif'+ '+ ');
                else @copy($target_file, $target_filename);

    이렇게 원래되어있던데요..?

    Comment Sep 02, 2007 Delete

  • Simulz

    원래 그렇게 되어 있는건 이미지 닉네임 생성 함수에요...

    800번대 줄에 이미지 마크 생성 함수가 있어요~

    Comment Sep 02, 2007