• I need to be able to specify the gallery template when displaying an album. The album may contain several galleries and each of those galleries should use the gallery template specified on the album shortcode (or panel).

    Here is a simple example. The user goes to the Sports Albums page and the Compact Album template displays the contained galleries. The user selects a gallery (football, hockey, marathon etc) and, currently, the default gallery template for NextGEN Basic Thumbnails is used.

    The user then goes to the Movie Albums page and the Compact Album template again displays the contained galleries. The user selects a gallery (action, romance, foreign etc) and the default gallery template for NextGEN Basic Thumbnails is used.

    I need the album invocation to be able to specify the gallery template so that, in the above example, all galleries contained within an album can use the gallery template specified for the album. Which may be different for another album.

    I see this type of functionality has been requested several times over the past 6 years and workarounds/patches have been suggested but the ability is still missing.

    I found that I can specify a gallery template on the album shortcode, for example with:

    [ngg_images album_ids=”2″ display_type=”photocrati-nextgen_basic_compact_album” template=”album-compact” display_gallery_template=”gallery-myslider”]

    and tracing through the nextgen code it would appear to be recognized all the way to the gallery display:

    index_action
    display_settings:
    Array
    (
    [gallery_display_type] => photocrati-nextgen_basic_thumbnails
    [galleries_per_page] => 0
    [enable_breadcrumbs] => 1
    [template] => album-compact-services
    [override_thumbnail_settings] => 1
    [thumbnail_width] => 200
    [thumbnail_height] => 200
    [thumbnail_crop] => 1
    [use_lightbox_effect] => 1
    [disable_pagination] => 0
    [gallery_display_template] =>
    [ngg_triggers_display] => never
    [display_gallery_template] => gallery-myslider
    )

    But the specified display_gallery_template is not used and nextgen uses the default gallery template for NextGEN Basic Thumbnails.

    Please can we have the ability to specify the gallery template from the album invocation?

    https://ww.wp.xz.cn/plugins/nextgen-gallery/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @leskite – Thanks for all of this background and details but it is still best to put forward a Feature Request idea on our page here: http://nextgen-gallery.com/feature-voting/

    Thanks!

    – Cais.

    Thread Starter LesKite

    (@leskite)

    Thanks Cais, I entered the same details on the feature-voting page and clicked Vote because that’s all I could see to do. I assume you will authorize it for display at some time.

    Plugin Contributor photocrati

    (@photocrati)

    @leskite – Yes, our team member that curates those ideas will display them as they are reviewed and considered … some do get “re-worded” if we see the idea differently but we generally we keep the essence of the suggestion in tact no matter.

    Thanks!!

    – Cais.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘album gallery template’ is closed to new replies.