Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

프로필 사진 용량 제한 및 확장자 제한하기 #2202

Closed
eondcom opened this issue Jan 3, 2018 · 2 comments
Closed

프로필 사진 용량 제한 및 확장자 제한하기 #2202

eondcom opened this issue Jan 3, 2018 · 2 comments

Comments

@eondcom
Copy link
Contributor

eondcom commented Jan 3, 2018

커뮤니티 사이트에서 트래픽을 잡아먹는 주범으로 프로필 사진이 있습니다.
업로드 용량과 확장자 제한 기능이 없어서, 요즘 10메가 넘는 gif 파일을 올리는 회원이 있습니다. ㅠ
댓글을 달때마다 트래픽이 올라가고, 사람들이 볼 때마다 트래픽 폭탄을 맞습니다.
이 부분 빠른 업데이트 부탁 드려도 될까요? ㅠ_ㅠ

https://xetown.com/qna/393105

@ghost ghost self-assigned this Jan 4, 2018
@ghost ghost added this to 해결 중 in 이슈 진행 상황 Jan 4, 2018
@ghost ghost added the type/enhancement label Jan 4, 2018
@ghost ghost added this to the 1.9-2018-02W milestone Jan 4, 2018
@ghost
Copy link

ghost commented Jan 4, 2018

확장자 제한은 gif, png, jpg의 세 종류로 제한되고, 리사이즈 과정이 있기 때문에 용량 제한 부분만 옵션으로 추가하겠습니다.

용량 제한의 경우 이미지의 크기?사이즈?(dimension) 제한에 따라 리사이즈 과정이 있기 때문에, 리사이즈 된 용량을 기준으로 제한하도록 하겠습니다.

ghost pushed a commit that referenced this issue Jan 4, 2018
- 기본 값 : 용량 제한하지 않음
- KB 단위로 지정할 수 있으며
- 이미지가 리사이즈 과정을 거치는 경우 리사이즈 된 파일의 용량으로 적용 함
@ghost
Copy link

ghost commented Jan 4, 2018

이미지 이름, 이미지 마크가 리사이즈 되지 않을 수 있는 문제도 함께 수정되었습니다.

@ghost ghost closed this as completed Jan 5, 2018
이슈 진행 상황 automation moved this from 해결 중 to 이슈 종료 Jan 5, 2018
kijin pushed a commit to rhymix/rhymix that referenced this issue Jan 10, 2018
xpressengine/xe-core#2202

- 기본 값 : 용량 제한하지 않음
- KB 단위로 지정할 수 있으며
- 이미지가 리사이즈 과정을 거치는 경우 리사이즈 된 파일의 용량으로 적용 함
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant