Forums

NextGEN Gallery
[resolved] Using the shutter effect in a template (1 post)

  1. alturnwall
    Member
    Posted 1 year ago #

    Hello,

    I'm using a custom lightbox effect on my site, and I want to utilize the shutter effect only for the AJAX pagination on only the imagebrowser template.

    Is there any way to add code straight to the imagebrowser template to enable the AJAX pagination without enabling it through the gallery options?

    I tried adding this to the head:

    <link rel='stylesheet' id='shutter-css'  href='/*mysite*/wp-content/plugins/nextgen-gallery/shutter/shutter-reloaded.css?ver=1.3.0' type='text/css' media='screen' />
    		  <script type='text/javascript'>
              /* <![CDATA[ */
              var shutterSettings = {
                  msgLoading: "L O A D I N G",
                  msgClose: "Click to Close",
                  imageCount: "1"
              };
              /* ]]> */
              </script>
    <script type='text/javascript' src='/*mysite*/wp-content/plugins/nextgen-gallery/shutter/shutter-reloaded.js?ver=1.3.0'></script>
              <script type='text/javascript'>
              /* <![CDATA[ */
              var ngg_ajax = {
                  path: "/*mysite*/wp-content/plugins/nextgen-gallery/",
                  callback: "/*mysite*/index.php?callback=ngg-ajax",
                  loading: "loading"
              };
              /* ]]> */
              </script>

    and the class="shutterset_*name of my gallery*" to my image link to no avail.

    WP 3.0.1 and NGG 1.6.1

    Any suggestions would be greatly appreciated. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags