설명
Add a template to NextGEN Gallery that provides multiple-file downloads for trade/media galleries. 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 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.
번역
Many thanks to the generous efforts of our translators:
- Czech (cs_CZ) — Rudolf Klusal
- Danish (da_DK) — Ligefrem
- Dutch (nl_NL) — the Dutch translation team
- English (en_CA) — the English (Canadian) translation team
- English (en_GB) — the English (British) translation team
- English (en_ZA) — the English (South African) translation team
- French (fr_FR) — Nicolas Sizun
- Korean (ko_KR) — the Korean translation team
- Portuguese (pt_BR) — Juliano Arantes
- Polish (pl_PL) — Jakub Molek and the Polish translation team
- Russian (sv_SE) — the Russian translation team
- Swedish (sv_SE) — the Swedish translation team
- Turkish (tr_TR) — the Turkish translation team
If you’d like to help out by translating this plugin, please sign up for an account and dig in.
크레디트
이 프로그램은 GPLv2 아래 Photocrati Media 2012 에게 저작권이 일부 포함되어 있습니다. 일부 PHP코드는 NextGEN Gallery로 부터 허락하에 복사되었습니다 따라서 nggtags
쇼트코드는 nggtags_ext
로 특정 겔러리 템플릿에서 확장되어 사용합니다.
스크린샷
설치
- Install NextGEN Gallery or NextCellent Gallery, and create galleries/albums
- Upload this plugin to your /wp-content/plugins/ directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- 특정 겔러리 다운로드 템플릿
From a gallery shortcode
NextGEN 겔러리를 표시하기 위해 쇼트코드를 사용할때 당신은 특정 겔러리 템플릿으로 다운로드 겔러리로 만들수 있습니다.
[nggallery id=1 template=download]
From an album shortcode
NextCellent 겔러리 앨범을 표시하기 위해 쇼트코드를 사용할때 당신은 특정 겔러리 템플릿으로 다운로드 겔러리로 만들수 있습니다.
[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"]
FAQ
-
Will this plugin work without NextGEN Gallery or NextCellent Gallery?
-
No. NextGEN Gallery / NextCellent Gallery 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”. -
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. 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.
-
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 for details. NB: this is advanced and requires some programming ability!
후기
기여자 & 개발자
변경이력
The full changelog can be found on GitHub. Recent entries:
1.6.2
Released 2023-12-05
- fixed: fatal error “call to a member function get_entity() on null”