Smart Resize Images

By Kenqr Last update Oct 8, 2011 — Installed 1,772 times.


Script Summary: Resize large images to appropriate size. 將過大的圖片縮小至適當的大小

Version: 1.2

Thumb Thumb

# Tested on Firefox 7, Google Chrome 14 and Opera 11
# Automatically resize images after page loads(can be turned off), or manually from Greasemonkey menu.
# Padding between resized image and viewport. (padding size is adjustable)
# Image will not become samller than 0.5x of viewport. (ratio is adjustable)
# Resized image with border. (can be turned off)
# Auto resize when browser resolution changes. (can be turned off)
# Click resized image to open original image in a new window. (can be turned off)
# English and Chinese(Traditional) interface. (auto-detect)
# Use Greasemonkey menu to change settings.
# If you're using Google Chrome or Opera, you may edit settings area of this script with notepad.
# If this script causes some site to display inproperly, add that site to excluded pages.
  Or include sites that you'd like this script to run on only.
# 適用於Firefox 7、Google Chrome 14、Opera 11
# 網頁載入後自動縮圖(可關閉),或是由Greasemonkey選單進行縮圖
# 圖片到可視範圍之間會留一小段空白(空白大小可調整)
# 為避免縮圖後圖片過小,最小只會把圖片縮至2邊都大於可視範圍的0.5倍(倍率可調整)
# 縮小過的圖片加上邊框標示(可關閉)
# 解析度改變時自動重新縮圖(可關閉)
# 點選縮小後的圖片在新分頁開啟原圖(可關閉)
# 中英文介面(自動偵測語言)
# 改變設定值的方法
    Firefox:在狀態列油猴圖示上按右鍵>正在使用中的腳本>Smart Resize Images: 選項...
    Chrome/Opera:以記事本開啟腳本修改設定值
# 在某些網頁可能會讓圖片顯示位置錯誤。把會出問題的網頁加到例外網址,或是只把腳本套用到需要縮圖的網站,可避免這個問題
Changelog
v1.2    + Added an option to turn off 'resize images after page loads'.
        + Added a GreaseMonkey menu item to Resize/Unresize images.
        * Fixed the problem that caused the settings window not opening in new version of Firefox.
v1.1    + Added Chinese(Traditional) interface.
        + Added an option to turn off 'click to open resized image in a new window'.
v1.0    Initial release.
改版紀錄
v1.2    + 新增:關閉「網頁載入後自動縮圖」的選項
        + 新增:由Greasemonkey選單進行縮圖/取消縮圖
        * 修正:在新版Firefox中無法開啟設定視窗的問題
v1.1    + 新增:繁體中文介面
        + 新增:關閉「點選縮圖在新視窗開啟原圖」的選項
v1.0    最初的版本