
內容簡介
這個外掛讓你可以使用 [jsg500px] shortcode,在你的網誌頁面中加入你的 500px.com 畫廊。
這個畫廊是使用 galleriffic 製作的,畫面所取得的圖片則是從 500px.com 的使用者 feed 中抓取的。
你也可以在你的 template 資料夾中定義自訂 CSS,以完全客製化畫廊。
你可以在這裡觀看這個外掛的實際效果:http://micz.it/fotografia/500px/。
使用自訂 CSS 檔案
你可以使用自訂的 CSS 檔案來客製化畫廊的外觀。
這個 CSS 檔案必須被命名為 wp-500px-jsgallery.css,並且複製到你的佈景主題根目錄中,同一個地方儲存佈景主題的 style.css 檔案。
此自訂檔案將在標準外掛 CSS 檔案之後載入,所以你可以只修改你需要的元素,其他元素將照常顯示。
你可以查看標準的 wp-500px-jsgallery.css,查看這個畫廊由哪些 CSS 元素組成。
如果你在外掛設定頁面中勾選了「Exclusive custom CSS」選項,將只載入你的自訂 CSS 檔案,而不是外掛預設的檔案。
如果你只需要修改縮圖或圖片尺寸,可以透過自訂 CSS 或在外掛設定頁面上的專屬選項來修改。
外掛原始檔案
原始檔庫可以在 https://github.com/micz/wp-500px-jsgallery/ 找到。
外掛標籤
開發者團隊
原文外掛簡介
This is plugin lets you add your 500px.com gallery to a page in your blog using the [jsg500px] shortcode.
The gallery is made with galleriffic and the images are retrieved from 500px.com using the user feed.
It’s possible also to define a custom CSS in your template folder to customize completely the gallery.
See the plugin in action here: http://micz.it/fotografia/500px/
Using a custom CSS file
You can customize the look of the gallery using a custom CSS file.
The file must be named wp-500px-jsgallery.css and copied in your theme root folder, the same where is stored the theme style.css file.
This custom file will be loaded after the standard plugin css file, so you can modify only the elements you need, the other elements will be displayed as usual.
You can check the standard wp-500px-jsgallery.css to see which css elements the gallery is composed of.
If you check the “Exclusive custom CSS” option in the plugin settings page, will be loaded only your custom CSS file and not the plugin default one.
If you need to modify only the thumbnails or image dimensions, you could do this via a custom css or using the dedicated options in the plugin settings page.
Plugin source files
The source files repository is available at https://github.com/micz/wp-500px-jsgallery/
