We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10076
    • 1,024 Posts
    Hi,

    thought I d let you know how to apply Smoothgallery External caroussel hack I found on JonDesign forum. The hack lets you seperate the Info panel and the caroussel from the main window.


    If you want to seperate the caroussel or see what this thread is about, check here:
    http://bigearthweb.com/test/JDgalleryMod/demoMod.php.
    Or here http://smoothgallery.jondesign.net/forums/viewtopic.php?id=229.
    For the carrousel, check here: http://smoothgallery.jondesign.net/forums/viewtopic.php?id=203

    Here s how to seperate the infopanel and the caroussel, this with MaxiGallery 0.6 only.
    First you need to fix the info panel bug, cause it will only show once on page load if used with the external caroussel.

    It is fixed by changing the following line (306 or 307) in jd.gallery.js (content is attached to this message) from:

    if (this.options.showCarousel)


    to:

     if (this.options.showCarousel && !this.options.useExternalCarousel)


    Next in the same file around line 526 change

    this.slideInfoZone = new Fx.Styles(new Element('div').addClass('slideInfoZone').injectInside($(this.galleryElement))).set({'opacity':0});


    to

    this.slideInfoZone = new Fx.Styles(new Element('div').addClass('mySlideInfoZone').injectInside($('myInfoContainer'))).set({'opacity':0});




    I attached the modified jd gallery.css and commented what the changes were I made.


    Last you should create a chunk or insert directly in your template the following. This is containing the info zone

    
          <div class="info">
          <div id="myInfoContainer" class="jdGallery"></div>
          </div>


    Finally the call I used for this page:

    [!MaxiGallery? &display=`embedded` &embedtype=`smoothgallery` &smoothgallery_carouselElement=`carousel` &smoothgallery_useExternalCarousel=`true`  &smoothgallery_width=`623`  &smoothgallery_showArrows=`false`&smoothgallery_thumbHeight=`120` &smoothgallery_thumbWidth=`140`&max_thumb_size=`140x120` &smoothgallery_thumbSpacing=`2` &customFields=`price,size` &smoothgallery_preloader=`true` &debug=`0`!]
    


    Note that the &smoothgallery_carouselElement=`carousel` should be represented by a div id in your own style sheet.

    Also, the jd.gallery slide element div in the jdgallery.css needs a background color

    Fr
      • 25803 ☆ A M B ☆
      • 721 Posts
      This is exactly what I need to do. Tried with Maxigallery 0.6 with disastrous results. Is this using (and modifying) the stock stable version of MaxiGallery 0.5.2?
        • 10076
        • 1,024 Posts
        Hi,

        It is using the 06 version, as that version is the only one supprting external carrousel.
        You got some more details?
          • 25803 ☆ A M B ☆
          • 721 Posts
          Quote from: Frank at Jul 13, 2009, 03:52 AM

          Hi,

          It is using the 06 version, as that version is the only one supprting external carrousel.
          You got some more details?

          I was able to see the thumbnails but not the full size version of the images when I tried earlier. I will have to resurrect the experiment in the next couple of days. But basically you’re saying you used the latest 0.6 version. I noticed there wasn’t a snippet call inside that so I used the snippet call from the previous version, but I’m presuming that is what everyone did.
            • 10076
            • 1,024 Posts
            Hi,

            I suppose you started with a new gallery?
            I will post the call I use above, in the first post.

            Fr.
              • 15734
              • 70 Posts
              Anyone have an idea why all I get is the load bar when I put:

              &smoothgallery_useExternalCarousel=`true`


              Otherwise everything works fine. I’m using 0.6. I just want to separate the carousel and info zone.

              Thanks.

                • 10076
                • 1,024 Posts
                Hi,

                what is working fine?
                What does your call look like.
                And is it live somewhere?

                  • 15734
                  • 70 Posts
                  Yeah I guess more details would help. I have it setup with a call as simple as this:
                  [!MaxiGallery? &display=`embedded` &embedtype=`smoothgallery` &smoothgallery_carouselElement=`carousel` &smoothgallery_useExternalCarousel=`true`!]

                  My actual call would have more parameters but I’m trying to track down the issue so I’ve simplified things. With this call all I get is the loading bar. If change it to:
                  [!MaxiGallery? &display=`embedded` &embedtype=`smoothgallery` !]

                  the gallery loads fine.

                    • 25803 ☆ A M B ☆
                    • 721 Posts
                    Thanks for all the valuable information. Have not been able to get back to this but hopefully next week.
                      • 10076
                      • 1,024 Posts
                      @ kevince

                      is it live? I had the same problem, found out that the propertys for the myinfozone class div were wrong. Just used FF toolbar.

                      @rx2 Try it will not be able to help the coming week, as soon as I find time I will reply. Just make sure to follow the instructions by the letter.

                      Best, Frank.