We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13137
    • 204 Posts
    I am using the following on a page:
    [!easy2?gid=`3`!]
    [!easy2?gid=`4`!]
    [!easy2?gid=`5`!]
    [!easy2?gid=`6`!]
    [!easy2?gid=`7`!]
    [!easy2?gid=`8`!]
    [!easy2?gid=`9`!]
    [!easy2?gid=`10`!]
    [!easy2?gid=`11`!]

    To display the title and contents of several sub-folders.


    • I dont know if there would be a better way to call this, simular to showonly=`images`, but would give a layout similar to the above?
    • I would like the folder description to show below the title, but I cant figure out what the call is to add to which template?
    • Or have image summaries display somewhere (in Alt tag or next to title when image is displayed)? (I think I am just missing what the call is to add to the templates?) Edit: Looking at the templates, I see the call, but I dont think that they are working?
    • Also, in the images "Alt=" and displayed images title, a "-" shows up after the title. I cant seem to track down where this is coming from to remove it. Edit: Found where it is comming from.
    • For the galleries using Jquery/Prototype/Mootools, we need to add the call to the script via our base template? or is E2G supposed to be calling these into the header?

    OK, done with the questions for now shocked

    Thanks.
      • 11055 ☆ A M B ☆
      • 3,112 Posts
      Quote from: islander at Jul 14, 2010, 09:08 AM

      I am using the following on a page:
      [!easy2?gid=`3`!]
      [!easy2?gid=`4`!]
      [!easy2?gid=`5`!]
      [!easy2?gid=`6`!]
      [!easy2?gid=`7`!]
      [!easy2?gid=`8`!]
      [!easy2?gid=`9`!]
      [!easy2?gid=`10`!]
      [!easy2?gid=`11`!]

      To display the title and contents of several sub-folders.


      • I dont know if there would be a better way to call this, simular to showonly=`images`, but would give a layout similar to the above?
      There is showonly=`folders`, but i believe it is not what you’re up to.
      I think your calls will do the trick.

      Quote from: islander at Jul 14, 2010, 09:08 AM

      • I would like the folder description to show below the title, but I cant figure out what the call is to add to which template?
      1. Snippet call: &gal_desc=`1`
      2. Re-arrange template: gallery.htm
      Move this part to some where else.
      <div class="e2gdir" [+easy2:desc_class+]>
          <div class="e2gtitle">[+easy2:title+]</div>
          <div class="e2gdesc">[+easy2:cat_description+]</div>
      </div>
      


      Quote from: islander at Jul 14, 2010, 09:08 AM


      • Or have image summaries display somewhere (in Alt tag or next to title when image is displayed)? (I think I am just missing what the call is to add to the templates?) Edit: Looking at the templates, I see the call, but I dont think that they are working?
      • For the galleries using Jquery/Prototype/Mootools, we need to add the call to the script via our base template? or is E2G supposed to be calling these into the header?
      The last 2 answers rely on the gallery’s library’s config (glib), not on the template.
      Check the includes/configs/libs.config.easy2gallery.php of the last revision (246), see how i’ve done it for floatbox:
      , 'glibact' => 'class="floatbox" data-fb-options="doSlideshow:false group:'.$show_group.' type:img caption:#description_'.$fid.'"'
      

      the caption takes the id=’description’ from the thumbnail.htm
      <div id="description_[+easy2:id+]" style="display: none;">
          <span style="color: gray;">[+easy2:description+]</span>
      </div>
      

      So you can change how your chosen javascript slideshow able to do the same (please refer to their sites), perhaps by different way.
      Just change the file, or make a new array selection.
        Rico
        Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
        MODx is great, but knowing how to use it well makes it perfect!

        www.virtudraft.com

        Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

        Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

        Maintainter/contributor of Babel

        Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
        • 13137
        • 204 Posts
        Most excellent.

        I guess I should have paid better attention to the help section, I completely missed:
        &gal_desc=`1`
        &css
        &js

        Very useful bits you included.

        Quote from: goldsky at Jul 12, 2010, 06:35 AM

        hehehe... well, ever thought about it once.
        [!easy2? &media=`video` &format=`flv`!] wink

        Sorry, I couldnt tell if this was in the works or not?
        Would it be feasible to mod in the future, the ability for something like this?

        Maybe:
        [!easy2? &media=`video` &format=`url` &link=`http://youtube/videolink` &w=`320` &h=`280`!]
        [!easy2? &media=`video` &format=`flv` &fid=`7` &w=`600` &h=`400`!]
        [!easy2? &media=`link` &format=`html` &fid=`9` &link=`assets/files/mypage.html`&w=`600` &h=`400`!]
        or some way to accommodate other media formats too, with the included Shadowbox.

        If I’m jumping way ahead, dont worry. Just excited about how awesome of a gallery this is, and it seems to do everything minus my laundry. laugh
          • 11055 ☆ A M B ☆
          • 3,112 Posts
          i’ll think about this. Thx for your input.
            Rico
            Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
            MODx is great, but knowing how to use it well makes it perfect!

            www.virtudraft.com

            Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

            Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

            Maintainter/contributor of Babel

            Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
            • 16702 ☆ A M B ☆
            • 536 Posts
            Quote from: islander at Jul 14, 2010, 03:40 PM

            ....
            [!easy2? &media=`link` &format=`html` &fid=`9` &link=`assets/files/mypage.html`&w=`600` &h=`400`!]

            that is good idea...something like modal window, maybe?
              palma non sine pulvere
              • 15197
              • 65 Posts
              I am using Easy2 with Galleriffic Example 5. I’ve almost got everything how I want it, except for resizing the images. I want the slideshow images resized, but I want the thumbnails cropped to squares. I’ve tried adding the following to my snippet call:

              &resize_type=`inner` &ss_img_src=`generated` &ss_resize_type=`resize`

              In the config settings, thumbnails are set to ’inner’. I’m getting everything showing up as ’inner’ - both the slideshow and the thumbs. I saw this post about a hack to accomplish this, http://modxcms.com/forums/index.php/topic,49266.msg290807.html#msg290807, but thought it may not be necessary with the newest version. Also, with that hack, I believe the images need to be edited before uploading to the exact size I’d want them to display at (src), so I wouldn’t be able to take advantage of &ss_w and &ss_h. Is that correct?

              Please let me know the best way to apply different resizing options to the two groups of images (thumb & slide).

              Thanks!
                • 11055 ☆ A M B ☆
                • 3,112 Posts
                yeah, don’t do the hack.
                it was taken before the &ss_img_src=`generated` (|| `original`) existed.
                Probably what you need is:
                [!easy2? 
                &gid=`???`
                &slideshow=`galleriffic` 
                &ss_config=`example-5` 
                &ss_img_src=`generated` 
                
                &w=`70`                  // thumbnail
                &h=`70`                  // thumbnail
                &resize_type=`inner`     // thumbnail
                
                &ss_w=`400`              // slideshow box - default
                &ss_h=`300`              // slideshow box - default
                &ss_resize_type=`resize` // slideshow box
                !]
                


                Let me know the result.
                  Rico
                  Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
                  MODx is great, but knowing how to use it well makes it perfect!

                  www.virtudraft.com

                  Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

                  Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

                  Maintainter/contributor of Babel

                  Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
                  • 15197
                  • 65 Posts
                  I think that’s more or less what I tried. Here’s my snippet call:

                  [!easy2? &slideshow=`galleriffic` &gid=`2` &ss_config=`example-5` &w=`80` &h=`80` &resize_type=`inner` &ss_img_src=`generated` &ss_resize_type=`resize` &ss_bg=`rgb` &thbg_red=`51` &thbg_green=`51` &thbg_blue=`51` &ss_limit=`none` &ss_css=`assets/modules/easy2/slideshows/galleriffic/css/galleriffic-5G.css` &ss_js=`assets/modules/easy2/slideshows/galleriffic/js/galleriffic-5G.js` &ss_indexfile=`assets/modules/easy2/slideshows/galleriffic/gallerifficG.php` &ss_w=`600px` &ss_h=`350px` !]


                  I’m getting ’inner’ results for both the thumbs and the slideshow. It’s resize, not shrink, that will display the image with its original proportions and fill in the margins with the bg color, right? That’s what I’m going for, and I think I had it before using ’resize’, but it was happening on the thumbnails, too, which doesn’t look good.

                  I’ve tried clearing the cache and synchronizing, too. The thumb resize-type setting in the config shouldn’t have any effect when I’ve got the params in my call, right?

                  Thanks for your quick response! I had been trying to use Gallery w/ Revo, and finally reverted back to Evo to use this due to the gallery not working and zero response on the boards.
                    • 11055 ☆ A M B ☆
                    • 3,112 Posts
                    i found the wrong process in the code, i’ll update soon.
                    this is what you’re after, right? http://arslantic.co.id/evo/example-5.html
                      Rico
                      Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
                      MODx is great, but knowing how to use it well makes it perfect!

                      www.virtudraft.com

                      Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

                      Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

                      Maintainter/contributor of Babel

                      Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
                      • 15197
                      • 65 Posts
                      Yes, that’s it. Thanks.