[WordPress] 外掛分享: SSP Director Tools

首頁外掛目錄 › SSP Director Tools
WordPress 外掛 SSP Director Tools 的封面圖片
10+
安裝啟用
★★★★
4.5/5 分(2 則評價)
3861 天前
最後更新
問題解決
WordPress 3.0+ v1.3 上架:2011-07-12

內容簡介

這個外掛使用 SSP Director API 從 SlideShowPro Director 拉取內容。

功能:

- 使用shortcode在文章中插入SSP Director中的單個圖像。
- 使用shortcode在文章中插入從SSP Director中拉取的帶有多個圖像的照片網格。可以查詢 SS Director 的相冊,畫廊,標籤並配置輸出的排序。可以隨機產生帶有隨機圖像的照片網格。
- 如果要在widget區域中顯示照片網格,則可以將widgets插入您的主題中。
- 大小和圖像處理根據您的默認設置,但可以通過shortcode屬性覆蓋。
- 使用SSP Director提供的圖像元數據設置圖像標題。
- 启用/禁用照片提要功能,生成用於照片網格的加密RSS照片提要URL。
- 使用FancyBox以燈箱樣式顯示照片。

shortcode幫助:

使用此shortcode:[sspd]。

允許使用的屬性列表:

- album: 要顯示的相冊的id (整數)。
- gallery: 要顯示的畫廊的id (整數)。
- image: 要顯示的單個圖像的id(整數)。
- align: 單個圖像的對齊方式(left | center | right,默認:left)。
- caption: 是否顯示單個圖像的標題(yes | 1 | no | 0, 默認:1)。
- limit: 要在網格中顯示的圖像數的最大值(整數,默認值:0)。如果為0,則為無限制。
- tags: 以逗號分隔的標記列表,可用於過濾內容。
- tagmode: 標記篩選器的工作模式。匹配列表中的所有標記還是任何一個標記(all | one,默認值:one)。
- sort_on: 排序字段(null | created_on | captured_on | modified_on | filename | random,默認值:null)。
- sort_direction: 排序順序(ASC | DESC,默認值:DESC)。
- rss: 是否在照片網格下方顯示RSS照片提要鏈接(yes | 1 | no | 0,默認值:1)。

如果未指定屬性,則將應用默認的外掛程式設置,這些設置在「照片網格默認值」和「圖像大小和處理」部分中定義。

示例:

[sspd gallery="6" limit="10" tags="technology" sort_on="captured_on" sort_direction="DESC"]:這將輸出標記有“technology”的相冊6中最近的10張照片。

圖像標題是使用圖像元數據自動生成的。您可以為預覽圖像和FancyBox呈現的圖像定義不同的標題。在標題定義中使用位置保留符號,例如%placeholder%,並定義日期的格式化方式。

允許使用的位置保留符號列表:

- %caption%:Director提供的圖像標題。如果沒有在Director中設置標題,則改用IPTC標題。
- %byline%:IPTC作者名稱
- %city%:IPTC城市
- %country%:IPTC國家
- %date%:EXIF記錄中的圖像捕獲日期

日期格式化:使用常見的PHP日期格式。

在您的標題中使用HTML:您可以使用以下HTML元素和屬性:
- ,

, , , , ,

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「SSP Director Tools」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This Plugin uses the SSP Director API to pull content from SlideShowPro Director.
Features:

Insert a single image from SSP Director into a post using a shortcode.
Insert a photo grid with multiple images from SSP Director into a post using a shortcode. Query SSP Director for albums, galleries, tags and configure the sorting of the output. Photo grids with random images are possible.
Insert widgets into your theme if you want to display a photo grid in a widget area.
Sizing and image handling are according to your default settings but can be overridden by shortcode attributes.
Use image metadata provided by SSP Director for formatting image captions.
Enable/disable photo feed functionality which generates an encrypted RSS photo feed URL for photo grids.
Use FancyBox to display photos in lightbox style.

Shortcode Help
Use this shortcode: [sspd].
List of allowed attributes:

album: The id of an album to show (integer).
gallery: The id of a gallery to show (integer).
image: The id of a single image to show (integer).
align: Alignment of a single image (left|center|right, default: left).
caption: Whether or not to show the caption of a single image (yes|1|no|0, default: 1).
limit: The maximum number of images to be shown in a grid (integer, default: 0). 0 if unlimited.
tags: List of tags to filter the content by, separated by commas.
tagmode: Mode in which the tag filter works. Match all tags or any out of the list (all|one, default: one).
sort_on: The sort field (null|created_on|captured_on|modified_on|filename|random, default: null).
sort_direction: The sort order (ASC|DESC, default: DESC).
rss: Whether or not to show a RSS photo feed link below the photo grid (yes|1|no|0, default: 1).

If no attributes are specified, the default plugin settings apply as defined in the sections “Photo Grid Defaults” and “Image Sizes and Handling”.
Example:
[sspd gallery="6" limit="10" tags="technology" sort_on="captured_on" sort_direction="DESC"]: This will output the 10 most recent photos of gallery 6 which are tagged with "technology".

Using captions

Image captions are automatically generated using image metadata. You can define different captions for preview images and images presented by FancyBox. Use placehoders like %placeholder% in your caption definitions and define how dates will be formatted.
List of allowed placeholders:

%caption%: The image caption as provided by Director. If the caption is not set in Director, the IPTC caption is used instead.
%byline%: The IPTC byline
%city%: The IPTC city
%country%: The IPTC country
%date%: The image capture date from the EXIF record

Date formatting: Use common PHP date formats.
Using HTML in your captions: You may use the following HTML elements and attributes:

,

, , , ,

Example: %caption% (%date%)
Photograph by %byline%
Known Issues

A bug in the Director API v. 1.5.0 beta generates a wrong result when a query with multiple tags is done. See SSP Director Forum.
photo grids and photo feeds don’t work for smart galleries and albums. (Seems to be a Director bug.)
The plugin currently doesn’t check if the photo feed feature is installed correctly.
The photo feeds don’t show the real sizes of the downloadable enclosures, but the sizes of the originals.

延伸相關外掛

文章
Filter
Mastodon