Add a template to NextGEN Gallery that provides multiple-file downloads for trade/media galleries
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 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"]
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.
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/');
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.
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!
Requires: 3.2.1 or higher
Compatible up to: 4.1.4
Last Updated: 2014-12-19
Active Installs: 3,000+
3 of 6 support threads in the last two months have been resolved.
Got something to say? Need help?