자유게시판
좌측 날개
우측 날개

스마트에디터2 이미지업로드시 사이즈 변경

페이지 정보

profile_image
작성자 가엾은보석 이름으로 검색
댓글 2건 조회 2,685회 작성일 16-06-24 20:39

본문

#######################################




2017년 1월 9일, 그누보드5 5.2.5 패치 내용에 해당 팁 내용이 포함 되었습니다.

http://sir.kr/g5_pds/3586

기존에 있던 팁 첨부파일은 패치 내용에 중복되므로 삭제하겠습니다.





#######################################







그누보드5에 적용된 스마트에디터2 이미지 업로드시

현재는 원본 파일이 그대로 서버에 저장되고 있습니다.

그래서 원본 파일( JPG, PNG 파일만 )을 썸네일로 바꿔서 올릴 수 있도록 조금 더 코드를 덧붙여 놓았습니다.


적용법은

첨부파일을 복사해서 그누보드5 경로에 붙여넣기 하면 됩니다.

설정하는 방법은

extend/smarteditor_upload_extend.php

파일을 보시면 주석을 달아 놓았습니다. 위의 파일에서 원하는 수치만 바꿔서 적용하면 됩니다.


만약에 문제가 있다면

위에 언급한 extend/smarteditor_upload_extend.php 파일에서

define('SMARTEDITOR_UPLOAD_RESIZE', 0); 사용안함으로 바꿔주세요.


에러가 날수 있는 부분 :

매우 큰 이미지 파일을 썸네일 할시, php 허용 메모리가 작다면 에러가 일어날 수 있습니다.

1
    등록된 이미지가 없습니다.

댓글목록

profile_image

xcvb님의 댓글

xcvb 이름으로 검색 작성일

https://argtrh3467.tumblr.com 아이폰15사전예약
https://sites.google.com/view/yeongimjin004 네이버상위노출
https://sites.google.com/view/sua001 네이버플레이스상위노출
https://sites.google.com/view/nam001 플레이스상위노출
http://violet458.co.kr 중고차수출
https://sites.google.com/view/justin34164 레플샵
https://dvboabfvih457.tumblr.com 인스타좋아요늘리기
https://sites.google.com/view/gimsosu001 여자명품티셔츠
https://aliejf1564.tumblr.com 인스타팔로워구매
https://sites.google.com/view/corbin354 남자명품레플리카
https://dkjofhj1357.tumblr.com 신차장기렌트카
https://sldihfs13548.tistory.com 몸캠피싱
https://adfvilb4387.tistory.com 부산휴대폰성지
https://sites.google.com/view/sos001 명품천가방
https://wsgaegwe345.tumblr.com 인스타팔로워늘리기
http://wildbeest97.co.kr 해외축구중계
http://nick897.co.kr 천안마사지
https://sites.google.com/view/yeongimjin001 스마트플레이스상위노출
https://sites.google.com/view/sos002 명품레플리카사이트
https://pfirjsf16485.tumblr.com 스포츠중계
https://sdgadf4353.tistory.com 갤럭시z플립5사전예약
https://sites.google.com/view/zebra3941 네이버쇼핑상위노출
https://bk64821.tumblr.com 해외선물
https://sd3457453.tistory.com 문화상품권현금화
https://ouflhg97341.tistory.com MLB중계
https://dlijfe9751.tumblr.com 출장마사지
https://rattler6178.tumblr.com 스마트스토어상위노출
https://sites.google.com/view/turkey978 스토어팜상위노출
https://sites.google.com/view/son001 명품스타일쇼핑몰

profile_image

cvbn님의 댓글

cvbn 이름으로 검색 작성일

http://hongkongrepl10.dothome.co.kr 남자명품레플리카 전부 많아지다
그리고 낙서를 조심스럽게 더듬어 나갔다. 오려할때에는 너무 날이 어두워 길을 헤메고다녔다. 전거래일 대비 2.44% 오른 20만9500원에 마감했다.  사실 오늘 밖에 시간이 나지 않았다"고 말했다.
뻗어나오는 우이산 입구에 서서 잠시 망설였다. 실망하며 돌아보았던 곳을 다시 둘러보았다. 있는 사마무리들의 해방을 조사하기 시작했다. 투명한 암기가 밀려나와 땅위에 떨어져내렸다.

자유게시판

최근글


  • 글이 없습니다.

새댓글


  • 댓글이 없습니다.
알림 0