#18073684 * resize_image 애드온 개선

* IE6에서 PNG 파일이 리사이즈 되지 않는 문제 고침
  * image_gallery 컴포넌트와의 호환성 확보

#17980094 * image_gallery 컴포넌트 리스트형에서 원본보기가 안되는 문제 고침

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6660 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
bnu 2009-06-24 05:51:14 +00:00
parent 69fbd4cf27
commit 2b4bc511ef
2 changed files with 55 additions and 66 deletions

View file

@ -72,11 +72,8 @@ function start_list_gallery() {
obj.image.style.marginBottom = "10px";
obj.image.style.display = "block";
// resize_scale이 1이 아니면, 즉 리사이즈 되었다면 해당 이미지 클릭시 원본을 새창으로 띄워줌
if(resize_scale!=1 && typeof(showOriginalImage)=='function') {
obj.image.style.cursor = 'pointer';
xAddEventListener(obj.image, 'click', showOriginalImage);
}
// 리사이즈 되었다면 resize_image 애드온의 slideshow() 기능 사용
if(resize_scale != 1) obj.image.rel = 'xe_gallery';
zone.appendChild(obj.image);
}