內容簡介
mAutoPopup是一個WordPress外掛程式,它允許您直接在文章或頁面中插入相關縮略圖而無需任何鏈接,即可顯示全尺寸圖像。從2.x版本開始,WordPress讓用戶通過插入相關檔案或動態生成頁面的鏈接來顯示全尺寸圖像。mAutoPopup進一步提高了使用體驗,使您可以在同一頁面上使用“彈出層”顯示這些圖像,而無需插入鏈接。
主要功能
在文章或頁面中顯示與縮略圖相關的全尺寸圖像,無需加載新頁面,直接在“彈出層”中顯示。
通過專門的樣式表全面自定義“彈出層”。
自動檢測可放大的縮略圖。
完全集成WordPress國際化API。
豐富的文本編輯器外掛程式
版本0.5的修復和改進
增加了燈箱相容模式-現在可以使用lightbox放大mAutoPopup識別的縮略圖(需要安裝lightbox相容性外掛程式)。
改進頁面滾動追蹤-介紹了平滑移動選項。
即將增加和改進的功能
雙樣式表編輯器,具有簡單和高級表單。
系統要求
PHP版本4.3.0或更高
目標網頁瀏覽器必須啟用Javascript
這個外掛程式是我對WordPress社區的第一次貢獻,我希望您會發現它很有用。
Christophe SAUVEUR
使用
啟用mAutoPopup後,它會自動為您的Weblog的任何文章或頁面工作。在發佈編輯器的上傳管理員中插入一個沒有到檔案或頁面的任何鏈接的縮略圖,mAutoPopup會自動檢測到並顯示放大的圖像。具有任何鏈接標記的縮略圖將不會被檢測到為適合的。
mAutoPopup默認情況下適用於您Weblog的所有頁面或文章。
但是,其行為可以在以下四個選項中選擇:
適用於所有文章和頁面(默認值)
適用於所有文章,但不適用於存在禁用快速標記的文章
禁用所有文章,但應用存在啟用快速標記的文章
禁用
如上所述,您可以通過插入快速標記定義某些文章的特定行為。
禁用快速標記是:[noautolink]
啟用快速標記是:[autolink]
如果選擇正確的行為,文章中任何位置存在這些快速標記都會改變它的行為。
您可以直接在代碼編輯器中輸入它,也可以使用從版本0.4開始隨mAutoPopup提供的豐富文本編輯器外掛程式。
豐富文本編輯器(TinyMCE)外掛程式使用方法
mAutoPopup 0.4包含一個新的豐富文本編輯器外掛程式,可啟用或禁用mAutoPopup,或從文章和頁面中刪除mAutoPopup快速標記。
安裝後,此外掛程式會在豐富文本編輯器的第一個工具條中顯示3個按鈕。
啟用按鈕
將啟用快速標記添加到當前正在編輯的文章或頁面。快速標記插入在光標位置。
如果已存在禁用快速標記,此按鈕將其刪除。
禁用按鈕
將禁用快速標記添加到當前正在編輯的文章或頁面。快速標記插入在光標位置。
如果已存在啟用快速標記,此按鈕將其刪除。
刪除按鈕
從當前正在編輯的文章或頁面中刪除任何快速標記。
網路資源
外掛標籤
開發者團隊
原文外掛簡介
mAutoPopup for WordPress is a plugin that allows you to display full scale images directly just by inserting their related thumbnails without any link into your posts or pages. As of its 2.x releases, WordPress enables users to display full scale images by inserting a link to the related file or to the dynamically generated page. mAutoPopup gets further by enabling you to display thoses images on the same page in a “popup” layer without the hassle of having to insert a link.
Key features
Displays full scale images related to thumbnails found into your posts or pages in a “popup” layer without loading a new page.
Allows full customization of the “popup” layer through a dedicated style sheet.
Automatic detection of “maximizable” thumbnails.
Fully integrated with the WordPress internationalization API.
Rich Text Editor plugin
Fixes and Improvements for version 0.5
Added lightbox compatibility mode – Thumbnails identified by mAutoPopup can now be magnified using lightbox (require installed lightbox compatible plugin)
Improved page scrolling tracking – Introducing smooth move option
Upcoming additions and improvements
Dual style sheet editor with Simple and Advanced forms.
System requirements
PHP version 4.3.0 or higher
Javascript must be enabled on the target web browser
This plugin is my first contribution to the WordPress community and I hope you’ll find it useful.
Christophe SAUVEUR
Usage
Once activated, mAutoPopup works automatically for any post or page of you weblog. Insert a thumbnail from the Upload Manager of the post editor without any link to the file or the page and mAutoPopup will automatically detect it has a suitable thumbnail for magnification. A thumbnail surrounded any link tag won’t be detected as suitable.
mAutoPopup works by default for all the pages or posts of you weblog.
However, its behavoir can be selected amongst four options :
Active for all posts and pages (default)
Active for all posts but those where the disabling quicktag is present
Disabled for all posts but those where the enabling quicktag is present
Disabled
As mentioned, you can define a specific behavoir for some posts by inserting quicktags.
The disabling quicktag is and the enabling quicktag is .
If the correct behavoir is selected, the presence of one of these quicktags anywhere in a post will alter it.
You can type it directly into the code editor or, better, use the Rich Text Editor plugin provided along with mAutoPopup from version 0.4.
Rich Text Editor (TinyMCE) plugin usage
mAutoPopup 0.4 includes a new rich text editor plugin to enable or disable mAutoPopup or to remove mAutoPopup quicktags from posts and pages.
Once installed, this plugin shows 3 buttons in the first toolbar of the rich text editor.
Enable button
Adds the enabling quicktag to the current edited post or page. The quicktag is inserted at the cursor position.
If a disabling quicktag already exists, this button removes it.
Disable button
Adds the disabling quicktag to the current edited post or page. The quicktag is inserted at the cursor position.
If an enabling quicktag already exists, this button removes it.
Remove button
Removes any quicktag from the current edited post or page.
Online Resources
If you have any questions that aren’t addressed in this document, please visit our website and its mAutoPopup dedicated section.
Known issues
Here is the known cases that may prevent mAutoPopup to work properly :
The Rich Text Editor plugin may not be available for some WordPress 2.0+ installations, though other functions of mAutoPopup work perfectly well.
License
mAutoPopup, as WordPress, is released under the terms of the GNU GPL v2 (see license.txt).
