F@rum_Haiquan.info (*_*)

Phiên bản đầy đủ: nCode Image Resizer With Highslide
Bạn đang xem phiên bản rút gọn. Bạn có thể xem bản đầy đủ.
Mô tả:
Tự động thu nhỏ hình ảnh có kích thước lớn khi dùng tag [IMG] và phóng to ảnh bằng hiệu ứng highslide



Installation:
- Upload folder "highslide" to forumroot

- Go to AdminCP > Plugins > Active nCode Image Resizer With Highslide

- Edit template Ungrouped Templates > headerinclude
Add code:

Code:
Code: (Select All)
Code:
{$highslide_script}

- Edit file inc/class_parser.php
Find:

PHP Code:
Code: (Select All)
Code:
return "<img src=\"{$url}\" border=\"0\" alt=\"{$alt}\"{$css_align} />";
Replace with:

PHP Code:
Code: (Select All)
Code:
return "<a href=\"{$url}\" class=\"highslide\" onclick=\"return hs.expand(this)\" border=\"0\"><img src=\"{$url}\" border=\"0\" alt=\"{$alt}\"{$css_align} onload=\"NcodeImageResizer.createOn(this);\" /></a>";
Điều Chỉnh Plugins:
AdminCP > Configuration > Image Resizer With Highslide
Bên trong có 2 tùy chọn là Max width of image (Chiều rộng tối đa) và Max height of image (chiều cao tối đa)
Download