這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

JJ NextGen Image List

外掛說明

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

螢幕擷圖

  • Vertical images.
  • Horizontal images.

安裝方式

Please refer to the description for requirements and how to use this plugin.

  1. Copy the entire directory from the downloaded zip file into the /wp-content/plugins/ folder.
  2. Activate the “JJ NextGen Image List” plugin in the Plugin Management page.
  3. Refer to the description to use the plugin as a widget and or a shortcode.

常見問題集

Question:

  • How can I use plugin inside normal PHP code?

Answer:

  • echo do_shortcode(‘[jj-ngg-image-list html_id=”about-image-list” gallery=”1″ width=”200″ height=”150″]’);

Question:

  • Doesn’t work after upgrade? or Doesn’t work with this theme?

Answer:

  • Please check that you don’t have two versions of jQuery loading, this is the problem most of the time. Sometimes a theme puts in
    tags at the end of newlines aswell.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈JJ NextGen Image List〉的開發相關工作。

參與者

將〈JJ NextGen Image List〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

  • 1.0.3: FAQ.
  • 1.0.2: Donate to Christchurch Quake.
  • 1.0.1: Shuffle should be working now. Gap tweaks.
  • 1.0.0: First version.