We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8471
    • 333 Posts
    I have opened a Topic for a problem with zip files: http://modxcms.com/forums/index.php/topic,9290.0.html
      Sorry for my bad English grin
      • 7923
      • 4,213 Posts
      Quote from: Soda at Nov 19, 2006, 01:26 AM

      Is there possible to make slideshow in the gallery browse view (with thumbnails) ?
      Make two snippet calls on the document, the other one with the slideshow embedtype and other with some else display type.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 2762
        • 1,198 Posts
        0.5 is Really really nice wink great work!

        I have only a little problem with Big images watermark that seems not work in my both call

        big images with text watermark

        [!MaxiGallery? &manager_webgroups=`Registered Users` &css=`GalleryStyleEmbossed` &display=`embedded` &thumb_use_watermark=`1` &thumb_watermark_type=`text` &thumb_watermark_txt=`MODx` &big_watermark_type=`text` &big_watermark_txt=`MaxiGalleryDEMO` &big_watermark_font=`5` &embedtype=`slimbox`!]


        big images with picture watermark

        [!MaxiGallery? &manager_webgroups=`Registered Users` &css=`GalleryStyleEmbossed` &display=`embedded` &embedtype=`slimbox` &thumb_use_watermark=`1` &thumb_watermark_type=`text` &thumb_watermark_txt=`MODx` &big_watermark_type=`image` &big_watermark_img=`assets/snippets/maxigallery/watermark/modx-logo-small.png`!]


        what I’m doing wrong? smiley



          Free MODx Graphic resources and Templates www.tattoocms.it
          -----------------------------------------------------

          MODx IT  www.modx.it
          -----------------------------------------------------

          bubuna.com - Web & Multimedia Design
          • 7923
          • 4,213 Posts
          Quote from: banzai at Nov 19, 2006, 10:16 AM

          I have only a little problem with Big images watermark that seems not work in my both call

          ...

          what I’m doing wrong? smiley
          Add &big_use_watermark=`1` to your snippet calls..


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 27889
            • 415 Posts
            Make two snippet calls on the document, the other one with the slideshow embedtype and other with some else display type.

            I’m trying that but it don’t work or I missed something and I don’t understand how it can.
            But perhaps my question is misunderstood.
            I want to display a slideshow of thumbnails, a kind of :
            [!MaxiGallery? &view_gallery=`53`   &display=`childgalleries` &embedtype=`slideshow`!]

            I know that this call doesn’t work.
              MODx Sites & Prestations: http://dp-site.fr [Last MODx Site]
              MODx Repository: [HOME] [MetaTagsExtra] / Current Dev: [xFDM]
              • 7923
              • 4,213 Posts
              Quote from: Soda at Nov 19, 2006, 10:35 AM

              I’m trying that but it don’t work or I missed something and I don’t understand how it can.
              But perhaps my question is misunderstood.
              I want to display a slideshow of thumbnails, a kind of :
              [!MaxiGallery? &view_gallery=`53`   &display=`childgalleries` &embedtype=`slideshow`!]

              I know that this call doesn’t work.
              Yes, this won’t work because childgalleries displaymode does not support slideshow.. But you said that you want to show a slideshow from gallery pictures and have the thumbnails on the same page too, right? If I got that correctly, you should just do the following on the gallery document:

              [[MaxiGallery? &display=`embedded` &embedtype=`slideshow`]] <--this shows the slideshow
              [[MaxiGallery]] <-- this shows the thumbnails under the slideshow

              Maybe add custom gallery outer template to the second call to hide the manage buttom from it, so you will just have one "manage pictures" button on the document then. If you click on one of the thumbnails, It will open it normally. I’m afraid that you can’t mix lightbox and slideshow on the same page as other uses scriptaculous+prototype and other mootools and I think they will collide someway.. Not sure though. You could in theory use slideshow and slimbox on the same page though, as they both use MooTools, but unfortunately they use different versions of it and I don’t know what happens if you have them both on a page. But the author of that slideshow script has said that the next version will support latest mootools, I can then include just single mootools library with the snippet.


                "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                • 27889
                • 415 Posts
                Sorry for my english skill, I’m trying to explain you (clearly) wink what I want:
                I want only a slideshow of thumbs on a page (which have no gallery under),
                like a normal slideshow, but with thumbnails only, I surely must use the slideshow script directly to achieve this. Consider that it is solved, I will post an example quickly.
                Thank you for your help.
                  MODx Sites & Prestations: http://dp-site.fr [Last MODx Site]
                  MODx Repository: [HOME] [MetaTagsExtra] / Current Dev: [xFDM]
                  • 7923
                  • 4,213 Posts
                  ok, lets try again wink so you want to do just a single slideshow, but with the thumbnail pictures in it and not the normal pics, yes? In that case, do a custom galleryPictureTpl and add tn_ prefix before the maxigallery.picture.filename placeholder. You need only the slideshow related stuff from default template in your custom template.


                    "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                    • 27889
                    • 415 Posts
                    Argghhh it’s so easy !
                    Thank you for your patience, it’s work like a charm.
                    This is my call if it can help someone :
                    [!MaxiGallery? &display=`embedded` &embedtype=`slideshow` &galleryPictureTpl=`tnSlideTpl`  &slideshow_width=`150` &slideshow_height=`150`!]


                    and the tnSlideTpl:
                    [+maxigallery.embedtype:is=`slideshow`:then=` 
                    	countArticle = countArticle+1;
                    	mySlideData[+maxigallery.pageinfo.id+][countArticle] = new Array(
                    	'[(base_url)][+maxigallery.path_to_gal+]tn_[+maxigallery.picture.filename+]',
                    	'[+maxigallery.picture_link_url+]',
                    	'[+maxigallery.picture.title:htmlent+]',
                    	'[+maxigallery.picture.descr:htmlent+]');
                    `+]


                    Edit: Must not logged in manager to avoid script conflicts: slideshow don’t display all images, and bad timer.
                      MODx Sites & Prestations: http://dp-site.fr [Last MODx Site]
                      MODx Repository: [HOME] [MetaTagsExtra] / Current Dev: [xFDM]
                      • 7923
                      • 4,213 Posts
                      Quote from: Soda at Nov 20, 2006, 07:07 AM

                      Edit: Must not logged in manager to avoid script conflicts: slideshow don’t display all images, and bad timer.
                      Yes, this is a issue between MooTools and quickedit/scriptaculous/prototype.. If you disable quickedit plugin, theres no problems.


                        "He can have a lollipop any time he wants to. That's what it means to be a programmer."

                      This discussion is closed to further replies. Keep calm and carry on.