• Resolved dwoliver

    (@dwoliver)


    I want to create a custom template image browser gallery that will work like the legacy template imagebrowser-caption.php. I have not been successful following the guidance for a custom template located in a nggallery directory in your theme folder b/c the image browser gallery depends on module code that does not get executed with the template from the theme\nggallery folder. What is the proper way to create a custom template for an image browser gallery?

Viewing 1 replies (of 1 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @dwoliver – The ImageBrowser template used by NextGEN Gallery is very similar to the NextGEN Legacy “captions” template although we do not specifically provide support for these legacy templates as they are currently only bundled for backward compatibility purposes.

    To create a custom template (currently *hint, hint*) you will have to look at some manual copy and paste operations and know that the new custom template will be applied to *all* instances of the current NextGEN Basic ImageBrowser display type.

    First, copy the ImageBrowser template file from:
    ../wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_basic_imagebrowser/templates/nextgen_basic_imagebrowser.php

    … to this location:
    ../wp-content/ngg/modules/photocrati-nextgen_basic_imagebrowser/templates/nextgen_basic_imagebrowser.php

    You will likely need to create the appropriate folder structure.

    From here, you can modify the copied version of the template and it will be used in place of the default template.

    Thanks!

    – Cais.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Template for Image Browser’ is closed to new replies.