
內容簡介
Responsive Lightbox2 外掛可在您的 WordPress 網站中加入燈箱功能。它允許您在當前頁面上疊加圖像。您可以將這種燈箱彈出效果添加到您的網站圖像、照片、相冊甚至相片集中。Responsive Lightbox2 外掛具有響應式設計,並在所有現代瀏覽器上工作。
Responsive Lightbox2 外掛非常易於使用,因此您完全不需要配置燈箱設置。您只需要安裝此外掛並在頁面中添加短代碼即可創建漂亮的燈箱彈出視窗。
Responsive Lightbox2 外掛基於原始的 jQuery Lightbox 腳本,由 Lokesh Dhakar 開發。此外掛讓用戶能夠將 Lightbox2 效果添加到其 WordPress 網站上。
需求
WordPress 的最新版本
功能
美麗的燈箱彈出樣式
創建自己的燈箱鏈接的靈活性
彈出響應式圖像的燈箱
從文本/圖像鏈接觸發燈箱
與 WordPress 多站點兼容
為文本/圖像鏈接添加燈箱
啟用網站上的燈箱功能,支持所有主要瀏覽器
在您的網站任何地方使用簡單的短代碼(文章、頁面、主頁等)彈出燈箱中的圖像
在插入到 WordPress 文章/頁面中的圖像上應用燈箱效果
在相冊或相片集中添加燈箱效果
將燈箱效果添加到圖片集
響應式的 lightbox2 彈出窗口,可在移動設備上運作。在螢幕較小的裝置上也完美適配。
Responsive Lightbox2 使用方法
從文本中開啟燈箱
創建新的文章/頁面,並使用以下短代碼創建一個文本鏈接,單擊後會觸發燈箱:
[lightbox2 url="http://example.com/wp-content/uploads/images/overlay.jpg" hyperlink="click here to pop up image"]
此處,url 是您希望在燈箱中打開的圖像文件的鏈接,而 hyperlink 是錨文本。
從圖像中開啟燈箱
[lightbox2 url="http://example.com/wp-content/uploads/images/overlay.jpg" hyperlink="http://example.com/wp-content/uploads/images/thumb.jpg"]
此處,hyperlink 是錨/縮略圖像。
在燈箱中顯示標題
[lightbox2 url="http://example.com/wp-content/uploads/images/overlay.jpg" title="overlay image" hyperlink="click here to pop up image"]
有關詳細文檔,請訪問Responsive Lightbox 外掛頁面。
外掛標籤
開發者團隊
原文外掛簡介
Responsive Lightbox2 plugin adds lightbox functionality to your WordPress site. It allows you to overlay images on top of the current page. You can add this lightbox popup effect to your website images, photos, album or even gallery. Responsive Lightbox2 is responsive and works on all modern browsers.
Responsive Lightbox2 is very user friendly so there is absolutely nothing for you to configure in the lightbox settings. All you need to do is install this plugin and add shortcode to a page to create beautiful lightbox popup.
Responsive Lightbox2 plugin is based on the original jQuery Lightbox script developed by Lokesh Dhakar. This plugin makes it possible for users to add Lightbox2 effect to their WordPress sites.
Requirements
Latest version of WordPress
Feature
Beautiful lightbox popup style
Flexibility of creating your own lightbox link
Pop up responsive images in lightbox
Trigger lightbox from either a text/image link
Compatible with WordPress multisite
Add lightbox to a text/image link
Enable lightbox functionality on your site which supports all major browsers
Use a simple shortcode anywhere on your site (Post, Page, Homepage etc.)to pop up an image in lightbox
Apply lightbox effect on images inserted into WordPress post/page
Add lightbox effect to an album or photo gallery
Add lightbox effect to a gallery of images
Responsive lightbox2 popup which works on mobile devices. Also it fits perfectly on smaller screens.
Responsive Lightbox2 Usage
Open lightbox from a text
Create a new post/page and use the following shortcode to create a text link which will trigger lightbox once clicked:
[lightbox2 url="http://example.com/wp-content/uploads/images/overlay.jpg" hyperlink="click here to pop up image"]
here, url is the link to the image file that you wish to open in lightbox and hyperlink is the anchor text.
Open lightbox from an image
[lightbox2 url="http://example.com/wp-content/uploads/images/overlay.jpg" hyperlink="http://example.com/wp-content/uploads/images/thumb.jpg"]
here, hyperlink is the anchor/thumbnail image.
Show Title in lightbox
[lightbox2 url="http://example.com/wp-content/uploads/images/overlay.jpg" title="overlay image" hyperlink="click here to pop up image"]
For detailed documentation please visit the Responsive Lightbox plugin page
