內容簡介
「JJ NextGen List」允許你製作一個圖像列表,並可放置於小工具區域或使用捷徑。
此外採用「NextGen Gallery」外掛程式來管理圖像。
需求:
NextGen Gallery Plugin (https://wordpress.org/extend/plugins/nextgen-gallery/)
NextGen Gallery 整合:
此插件會使用上傳的圖片的原始寬度和高度,因此請確保上傳的圖片尺寸正確無誤。
如果在設定下定義了寬度和高度,所有圖像都會調整到這些尺寸。
「Alt&Title 文字欄位」:在此提供完整的 URL,圖像將鏈接到此位置。只有當 alt 字段以以下任何一種開始才有效:/,http 或 ftp。
「Description 欄位」:將用作圖像的 alt 文字。如果 alt 文字存在但不是有效的 URL,則 alt 文字將作為圖像的 alt 文字。
你可以指定以下參數:
註意:sc 代表 shortcode。
標題:標題。留空不顯示標題。 (sc: title=”My Image List”)
相簿:留空以使用所有相簿,或選擇要使用的相簿。(sc: gallery=”galleryid”)
排序:顯示結果的順序。可以選擇隨機、最新首頁、最舊首頁或 NextGen Sortorder。在頁面被快取時,隨機仍然有效。( sc: order=”random”|”asc”|”desc”|”sortorder”)
洗牌:如果是隨機順序,而且這是 true,則會使用 javascript 洗牌圖像。如果你正在緩存網頁,這很有用。(sc: shuffle=”true”|”false”)
方向:可以選擇垂直或水平,預設為垂直。 (sc: orientation=”vertical”|”horizontal”)
圖片數量:使用的最大照片數。 (sc: max_pictures=”6″)
HTML ID:要使用的 HTML ID。預設為「image_list」。如在同一頁面上有多個示例,需指定不同的 ID。( sc: html_id=”image_list”)
圖像寬度:所有圖像都會指定這個寬度。 (sc: width=”200″)
圖像高度:所有圖像都會指定這個高度。 (sc: height=”150″)
圖片間隔:圖像之間的間隔。 (sc: gap=”5″)
居中:在容器中置中容器內容。需要設定寬度 (sc: center=”1″)
Shortcode 範例:
[jj-ngg-image-list html_id=”about-image-list” gallery=”1″ width=”200″ height=”150″]
嘗試我的其他插件:
JJ NextGen JQuery Slider (https://wordpress.org/extend/plugins/jj-nextgen-jquery-slider/)
JJ NextGen JQuery Carousel (https://wordpress.org/extend/plugins/jj-nextgen-jquery-carousel/)
JJ NextGen JQuery Cycle (https://wordpress.org/extend/plugins/jj-nextgen-jquery-cycle/)
JJ NextGen Unload (https://wordpress.org/extend/plugins/jj-nextgen-unload/)
JJ SwfObject (https://wordpress.org/extend/plugins/jj-swfobject/)
貢獻者
JJ Coder
外掛標籤
開發者團隊
原文外掛簡介
The ‘JJ NextGen List’ allows you to create an image list as a widget or as a shortcode.
This plugin uses the ‘NextGen Gallery’ plugin for its images.
Requirements:
NextGen Gallery Plugin (https://wordpress.org/extend/plugins/nextgen-gallery/)
NextGen Gallery Integration:
This plugin uses the original width and height of the image uploaded so make sure the images are the correct dimensions when uploaded.
If a width and height are defined under the configuration all images will be resized to those dimensions=.
Alt & Title Text Field: Provide a full url here and the image will link to this. Only works if alt field starts with either of these; /, http, or ftp.
Description Field: Will be used as image alt text. If alt text is present but not a valid url alt text will be used instead for image alt text.
You can specify the following parameters:
NOTE: sc means shortcode:
Title: Title. Leave blank for no title. (sc: title=”My Image List”)
Gallery: Leave blank to use all galleries or choose a gallery to use. (sc: gallery=”galleryid”)
Order: Order to display results in. You can choose; Random, Latest First, Oldest First, or NextGen Sortorder. Random will still work when a page is cached. (sc: order=”random”|”asc”|”desc”|”sortorder”)
Shuffle: If order is random and this is true will shuffle images with javascript. Useful if your are caching your pages. (sc: shuffle=”true”|”false”)
Orientation: Can pick vertical or horizontal defaults to vertical. (sc: orientation=”vertical”|”horizontal”)
Max pictures: The maximum amount of pictures to use. (sc: max_pictures=”6″)
HTML id: HTML id to use. Defaults to ‘image_list’. Needs to be different for multiple instances on same page. (sc: html_id=”image_list”)
Image width: All images with be assigned this width. (sc: width=”200″)
Image height: All images with be assigned this height. (sc: height=”150″)
Image gap: Gap between images. (sc: gap=”5″)
Center: Centers content in container. Requires width to be set. (sc: center=”1″)
Shortcode Examples:
[jj-ngg-image-list html_id=”about-image-list” gallery=”1″ width=”200″ height=”150″]
Try out my other plugins:
JJ NextGen JQuery Slider (https://wordpress.org/extend/plugins/jj-nextgen-jquery-slider/)
JJ NextGen JQuery Carousel (https://wordpress.org/extend/plugins/jj-nextgen-jquery-carousel/)
JJ NextGen JQuery Cycle (https://wordpress.org/extend/plugins/jj-nextgen-jquery-cycle/)
JJ NextGen Unload (https://wordpress.org/extend/plugins/jj-nextgen-unload/)
JJ SwfObject (https://wordpress.org/extend/plugins/jj-swfobject/)
Contributors
JJ Coder
