Ticket #377 (closed enhancement: fixed)

Opened 2 years ago

Last modified 16 months ago

리샘플링 기능이 완벽하지 못함

Reported by: jparker Owned by: graphittie
Priority: minor Milestone: 1.5
Component: Libraries Version: 1.6
Keywords: resampling,watermark Cc: dev@…
Release:

Description

  • 포스트에 포함된 이미지의 썸네일을 생성할때도 있고, 그렇지 않을 때도 있음.
  • 기존 생성된 썸네일도 삭제되는 경우 발생됨.

Change History

Changed 2 years ago by graphittie

  • status changed from new to assigned

Changed 2 years ago by graphittie

  • 워터마크는 내장되어야 하는 이유가 부족한 것으로 생각됨. 리샘플링은 트래픽을 줄이기 위한 기능이 될 수 있으므로 내장될 수도 있음. 그러나 워터마크는 단순한 취향의 문제에 가까움. 따라서 워터마크 루틴은 따로 분리하여 플러그인으로 분리할 예정임.

Changed 2 years ago by graphittie

  • version changed from 1.2 to 1.5

버그 보고. 확인할 것.

Changed 2 years ago by graphittie

  • cc doc@… added
  • keywords resampling,watermark added; resampling removed
  • type changed from defect to enhancement
  • [3370]
    • 리샘플링과 워터마크/여백 기능의 분리. 앞으로 리샘플링은 기본내장 되며 워터마크/여백 기능은 플러그인으로 구현될 것임.
    • 위와 관련된 처리들.
    • BeforeResizeImage, AfterResizeImage 이벤트 제거. 리샘플링은 통상적인 이미지 프로세스가 아니라, 단순히 이미지 관리를 도와주는 기능이므로 여기에 추가 기능이 개입할 여지가 있는 이벤트가 존재하면 안 됨.

Changed 2 years ago by inureyes

Changed 2 years ago by inureyes

  • cc doc@… removed
  • 원래 있던 기능이 사라지는 것이기 때문에 워터마크 플러그인이 필요합니다.

Changed 2 years ago by inureyes

  • status changed from assigned to closed
  • resolution set to fixed

Changed 2 years ago by graphittie

#429로 워터마크 플러그인 티켓이 등록되었습니다.

Changed 2 years ago by graphittie

  • [3431]
    • 사용되지 않는 함수 makeThumbnail()을 삭제.

Changed 2 years ago by graphittie

워터마크 플러그인을 #429에서 구현합니다.

Changed 2 years ago by inureyes

  • status changed from closed to reopened
  • resolution fixed deleted

Changed 2 years ago by inureyes

  • status changed from reopened to closed
  • resolution set to fixed
  • [3620]
    • 리샘플링시 글 갱신 후 처음 rss를 호출했을 때 preg_match에서 지원하지 않는 flag사용으로 인하여 발생하는 warning 수정

Changed 19 months ago by graphittie

  • status changed from closed to reopened
  • resolution fixed deleted

Changed 19 months ago by graphittie

  • [4738]
    • contentWidth 보다 작은 이미지도 리샘플링을 하던 것을 수정. 이 경우는 리사이징 되지 않으므로 리샘플링할 이유가 없다.

Changed 19 months ago by graphittie

  • status changed from reopened to closed
  • resolution set to fixed

Changed 19 months ago by graphittie

  • [4740]
    • 루틴 착오. 프로퍼티는 이미 리사이징 시에 변경된 것이므로 contentWidth를 넘을 리가 없다. 원본 파일의 가로폭을 참고하도록 변경.

Changed 19 months ago by graphittie

Changed 19 months ago by graphittie

  • status changed from closed to reopened
  • resolution fixed deleted

Changed 19 months ago by graphittie

  • status changed from reopened to closed
  • resolution set to fixed
  • [4780]
    • 또 가로폭 비교 연산 오류. 원본의 가로폭과 contentWidth를 비교하면 사용자가 강제로 가로폭을 조정한 파일의 경우(contentWidth=500, originWidth=400, imageWidth=300인 경우) 리샘플링이 되지 않는다. 따라서 원본 가로와, img 태그의 width 속성 값을 비교하도록 연산 변경.

Changed 17 months ago by graphittie

  • status changed from closed to reopened
  • resolution fixed deleted

Changed 17 months ago by graphittie

  • status changed from reopened to new

Changed 17 months ago by graphittie

  • status changed from new to assigned

[5276]

  • 정크 코드 삭제.

Changed 17 months ago by graphittie

  • version changed from 1.5 to 1.6

class="tt-resampling-image" 클래스에 의해 제어하는 부분을 어떻게 할까 고민 중. 이것을 없애버리면 기능 테스트 시절에 이미지에 개별적으로 리샘플링 예외를 설정해두었던 사용자의 경우 낭패를 볼 수 있다.

Changed 16 months ago by graphittie

  • status changed from assigned to closed
  • resolution set to fixed

[5443]

Note: See TracTickets for help on using tickets.