Title: NextGEN Download Gallery
Author: webaware
Published: <strong>2012 年 7 月 7 日</strong>
Last modified: 2024 年 3 月 17 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/nextgen-download-gallery/assets/icon-256x256.png?rev=2590633)

# NextGEN Download Gallery

 作者：[webaware](https://profiles.wordpress.org/webaware/)

[下载](https://downloads.wordpress.org/plugin/nextgen-download-gallery.1.6.2.zip)

 * [详情](https://cn.wordpress.org/plugins/nextgen-download-gallery/#description)
 * [评价](https://cn.wordpress.org/plugins/nextgen-download-gallery/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/nextgen-download-gallery/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/nextgen-download-gallery/#developers)

 [支持](https://wordpress.org/support/plugin/nextgen-download-gallery/)

## 描述

Add a template to NextGEN Gallery that provides multiple-file downloads for trade/
media galleries. [NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
is one of the best gallery plugins for WordPress because it is very flexible and
has a nice, simple admin. This plugin adds a new gallery template that lets you 
select multiple images from the gallery to be downloaded as a ZIP archive.

NB: the Photocrati version of NextGEN Gallery can impact the performance of your
server, and not all of the old plugin’s functionality works. You might want to consider
using [NextCellent Gallery](https://wordpress.org/plugins/nextcellent-gallery-nextgen-legacy/)
instead — it’s a fork of the original NextGEN Gallery with continued support and
compatibility, without the performance impacts.

NextGEN Download Gallery is targetted at creating “Trade/Media” areas on websites,
allowing journalists to easily download multiple product images. It’s apparently
very popular with photographers too.

### _翻译_

感谢我们的翻译者所做出的慷慨贡献：

 * Czech (cs_CZ) — [Rudolf Klusal](http://www.klusik.cz/)
 * Danish (da_DK) — [Ligefrem](http://www.ligefrem.dk/)
 * Dutch (nl_NL) — [the Dutch translation team](https://translate.wordpress.org/locale/nl/default/wp-plugins/nextgen-download-gallery/)
 * English (en_CA) — [the English (Canadian) translation team](https://translate.wordpress.org/locale/en-ca/default/wp-plugins/nextgen-download-gallery/)
 * English (en_GB) — [the English (British) translation team](https://translate.wordpress.org/locale/en-gb/default/wp-plugins/nextgen-download-gallery/)
 * English (en_ZA) — [the English (South African) translation team](https://translate.wordpress.org/locale/en-za/default/wp-plugins/nextgen-download-gallery/)
 * French (fr_FR) — Nicolas Sizun
 * Korean (ko_KR) — [the Korean translation team](https://translate.wordpress.org/locale/ko/default/wp-plugins/nextgen-download-gallery/)
 * Portuguese (pt_BR) — [Juliano Arantes](http://www.42fotografia.com.br/)
 * Polish (pl_PL) — Jakub Molek and [the Polish translation team](https://translate.wordpress.org/locale/pl/default/wp-plugins/nextgen-download-gallery/)
 * Russian (sv_SE) — [the Russian translation team](https://translate.wordpress.org/locale/ru/default/wp-plugins/nextgen-download-gallery/)
 * Swedish (sv_SE) — [the Swedish translation team](https://translate.wordpress.org/locale/sv/default/wp-plugins/nextgen-download-gallery/)
 * Turkish (tr_TR) — [the Turkish translation team](https://translate.wordpress.org/locale/tr/default/wp-plugins/nextgen-download-gallery/)

If you’d like to help out by translating this plugin, please [sign up for an account and dig in](https://translate.wordpress.org/projects/wp-plugins/nextgen-download-gallery/).

### 荣誉榜

This program incorporates a little code that is copyright by Photocrati Media 2012
under the GPLv2. Some PHP code was copied from NextGEN Gallery and altered, so that
the `nggtags` shortcode could be extended as `nggtags_ext` and specify a gallery
template.

## 屏幕截图

[⌊example download gallery⌉⌊example download gallery⌉[

example download gallery

## 安装

 1. Install [NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/) or [NextCellent Gallery](https://wordpress.org/plugins/nextcellent-gallery-nextgen-legacy/),
    and create galleries/albums
 2. Upload this plugin to your /wp-content/plugins/ directory.
 3. 通过WordPress的“插件”菜单激活插件。
 4. Specify the gallery template as “download”

### From a gallery shortcode

When using a shortcode to show a NextGEN gallery, you can make it a download gallery
by specifying the gallery template:

    ```
    [nggallery id=1 template=download]
    ```

### From an album shortcode

When using a shortcode to show a NextCellent Gallery album, you can make it show
download galleries by specifying the gallery template:

    ```
    [nggalbum id=1 gallery=download]
    ```

NB: NextGEN Gallery 2.0 still doesn’t support this functionality, as at v2.0.66.17;
see FAQ for work-around.

### From a tags shortcode

The standard `nggtags` shortcode doesn’t allow you to specify the gallery template,
so this plugin adds an extended version of that shortcode.

    ```
    [nggtags_ext gallery="frogs,lizards" template=download]
    ```

Or in NextGEN Gallery v2.0:

    ```
    [ngg_images tag_ids="frogs,lizards" template=download display_type="photocrati-nextgen_basic_thumbnails"]
    ```

## 常见问题

### Will this plugin work without NextGEN Gallery or NextCellent Gallery?

No. [NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/) / [NextCellent Gallery](https://wordpress.org/plugins/nextcellent-gallery-nextgen-legacy/)
are doing all the work. This plugin is only adding a new gallery template and the
ZIP download functionality.

### Can I make an album use the download template?

Yes, in NextCellent Gallery the album shortcode has separate parameters for album
and gallery templates. The “template” parameter tells it which template to use for
the album, and the “gallery” parameter tells it which template to use for the gallery.
e.g.

    ```
    [nggalbum id=1 template=compact gallery=download]
    ```

NB: NextGEN Gallery v2.0 still doesn’t support this functionality. Instead, you 
need to link a page to each gallery in Gallery > Manage Galleries, and use the `
nggallery` shortcode on those pages to set the template as “download”.

### Can I make the tags shortcode use the download template?

In NextCellent Gallery, just add the template to the `nggtags` shortcode:

    ```
    [nggtags gallery="frogs,lizards" template=download]
    ```

NextGEN Gallery v2.0 introduces a new shortcode, `ngg_images`; see the [Photocrati documentation for ngg_images](https://www.imagely.com/docs/nextgen-gallery-shortcodes/).
This new shortcode can support a template parameter, like this:

    ```
    [ngg_images tag_ids="frogs,lizards" template=download display_type="photocrati-nextgen_basic_thumbnails"]
    ```

### I don’t like the download template; can I customise it?

Yes. Copy the template from the templates folder in the plugin, into a folder called
nggallery in your theme’s folder. You can then edit your copy of the template to
get the pretty.

### Why does it break when I select too many images?

There can be several reasons, but the most common one is that your server is limiting
the size of temporary files. You might be able to work around that by telling WordPress
to use your uploads folder for temporary files. To do that, add this line to your
wp-config.php file, just below the lines defining ABSPATH near the bottom of the
file:

    ```
    define('WP_TEMP_DIR', ABSPATH . '/wp-content/uploads/');
    ```

### You’ve translated my language badly / it’s missing

The initial translations were made using Google Translate, so it’s likely that some
will be truly awful! Please help by [registering to translate into your preferred language](https://translate.wordpress.org/projects/wp-plugins/nextgen-download-gallery).

### Can I change the image paths, to download a different image?

If you have higher resolution images you’d like to download instead of the ones 
displayed, you can use a WordPress filter hook. See [this support post](https://wordpress.org/support/topic/linking-to-hr-images-again#post-4385317)
for details. **NB:** this is advanced and requires some programming ability!

## 评价

![](https://secure.gravatar.com/avatar/bf1664a6fd91d396e66db01b270ab794a529ec96efa7d2e4dccdd303df49cbb5?
s=60&d=retro&r=g)

### 󠀁[grande](https://wordpress.org/support/topic/grande-13/)󠁿

 [roberto toni](https://profiles.wordpress.org/roberto-toni/) 2017 年 4 月 16 日

perfetto ed affidabile

![](https://secure.gravatar.com/avatar/3ce95c0161db3437521656af99e8f4ebbe767f35bb1c98c3797473dfae5b1098?
s=60&d=retro&r=g)

### 󠀁[Great addon.](https://wordpress.org/support/topic/great-addon-11/)󠁿

 [Ditto Dito](https://profiles.wordpress.org/ditto-dito/) 2016 年 9 月 3 日

It does what it says. Flawlessly. Great addon!

![](https://secure.gravatar.com/avatar/b7ebd836ef04b473e97975d11010a96ca3b0ed8496e2b3c27a868ccb2bd940a3?
s=60&d=retro&r=g)

### 󠀁[good](https://wordpress.org/support/topic/good-2131/)󠁿

 [derosieres](https://profiles.wordpress.org/derosieres/) 2017 年 2 月 7 日

A really good plugin, small problem, the look is not customizable

 [ 阅读所有11条评价 ](https://wordpress.org/support/plugin/nextgen-download-gallery/reviews/)

## 贡献者及开发者

「NextGEN Download Gallery」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ webaware ](https://profiles.wordpress.org/webaware/)

「NextGEN Download Gallery」插件已被翻译至 10 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/nextgen-download-gallery/contributors)
为本插件所做的贡献。

[帮助将「NextGEN Download Gallery」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/nextgen-download-gallery)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/nextgen-download-gallery/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/nextgen-download-gallery/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/nextgen-download-gallery/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/nextgen-download-gallery/)。

## 更新日志

[The full changelog can be found on GitHub](https://github.com/webaware/nextgen-download-gallery/blob/master/changelog.md).
Recent entries:

### 1.6.2

Released 2023-12-05

 * fixed: fatal error “call to a member function get_entity() on null”

## 额外信息

 *  版本 **1.6.2**
 *  最后更新：**3 年前**
 *  活跃安装数量 **2,000+**
 *  WordPress 版本 ** 4.0 或更高版本 **
 *  已测试的最高版本为 **6.5.14**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [Dutch](https://nl.wordpress.org/plugins/nextgen-download-gallery/) 、 [English (Australia)](https://en-au.wordpress.org/plugins/nextgen-download-gallery/)、
   [English (Canada)](https://en-ca.wordpress.org/plugins/nextgen-download-gallery/)、
   [English (New Zealand)](https://en-nz.wordpress.org/plugins/nextgen-download-gallery/)、
   [English (South Africa)](https://en-za.wordpress.org/plugins/nextgen-download-gallery/)、
   [English (UK)](https://en-gb.wordpress.org/plugins/nextgen-download-gallery/)、
   [English (US)](https://wordpress.org/plugins/nextgen-download-gallery/) 、 [Korean](https://ko.wordpress.org/plugins/nextgen-download-gallery/)、
   [Russian](https://ru.wordpress.org/plugins/nextgen-download-gallery/) 、 [Swedish](https://sv.wordpress.org/plugins/nextgen-download-gallery/)
   和 [Turkish](https://tr.wordpress.org/plugins/nextgen-download-gallery/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/nextgen-download-gallery)
 * 标签
 * [download](https://cn.wordpress.org/plugins/tags/download/)[gallery](https://cn.wordpress.org/plugins/tags/gallery/)
   [nextgen](https://cn.wordpress.org/plugins/tags/nextgen/)
 *  [高级视图](https://cn.wordpress.org/plugins/nextgen-download-gallery/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  11 条 5 星评价     ](https://wordpress.org/support/plugin/nextgen-download-gallery/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/nextgen-download-gallery/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/nextgen-download-gallery/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/nextgen-download-gallery/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/nextgen-download-gallery/reviews/?filter=1)

[您的评价](https://wordpress.org/support/plugin/nextgen-download-gallery/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/nextgen-download-gallery/reviews/)

## 贡献者

 *   [ webaware ](https://profiles.wordpress.org/webaware/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/nextgen-download-gallery/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://shop.webaware.com.au/donations/?donation_for=NextGEN+Download+Gallery)