We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24449
    • 81 Posts
    For the 217 other people that have viewed this thread: AutoGallery 2.0 is now with beta testers. Should be able to put it up later in the week.

    It now has support for flv and mp3 files - in that it will prefix their URLs with a defined string, so you can play them with a player.
    The code is less of a mess so I should be able to add things quickly, and other people might not think so little of me when they read it.
    It supports a quality argument for the tn generator.

    Ramsay
      • 1564
      • 31 Posts
      With the old version I have also figured one little thing. FCKeditor creates thumbnails of images with a name .thumb_**** (****=name of the image). Would it be possible to omit showing+"tn creation" of these files on the particular directory?
        MODx is way ahead... Thanks for your work!
        • 24449
        • 81 Posts
        What I ought to have done is excluded all files that start with a dot! That would be a more sensible UNIX approach, wouldn’t it? wink
          • 1564
          • 31 Posts
          Quote from: ramsay at Sep 01, 2009, 08:42 PM

          What I ought to have done is excluded all files that start with a dot! That would be a more sensible UNIX approach, wouldn’t it? wink

          grin Hit the nail on the head..
            MODx is way ahead... Thanks for your work!
            • 1564
            • 31 Posts
            Quote from: ramsay at Sep 01, 2009, 08:42 PM

            What I ought to have done is excluded all files that start with a dot! That would be a more sensible UNIX approach, wouldn’t it? wink

            Thanks for pointing me there... got it now working:

            if(!(($entry == '..')||($entry == '.')||($entry[0] == '.')||(substr($entry, 0, 3) == 'tn_'))) {
              MODx is way ahead... Thanks for your work!
              • 24449
              • 81 Posts
              Ok, I feel slightly daft because I put:
              (substr($entry, 0, 1) != '.') 
              


              ;)

              But you left in the bits that test for ’.’ and ’..’ that are now redundant, so I think we are even grin

              This will be in the released version. This will wind up the one guy who WANTS to show files beginning with dots...



              Ramsay
                • 22261
                • 1 Posts
                Hello!

                How can I make that the thumbnails will be arranged by rows and columns?

                I’m nub with modx.

                Thanx!
                  • 24449
                  • 81 Posts
                  Martyn does the front side visual stuff, I don’t really understand it smiley

                  I think he does it by putting each item in a span of a fixed width then putting the snippet call in a div of a fixed width that is an exact multiple of the span width, so they wrap round after exactly N items and line up nicely.

                  AutoGallery doesn’t support output in tables. Martyn wouldn’t let me wink

                    • 17282
                    • 283 Posts
                    hehe@ramsay

                    ok in the chunk .. just put everything inside a fixed width and hieght span that is floated left ....
                    Thats how i normally do it, you can set margins etc to get your gris effect.

                    Cheers
                    Martyn
                      Everytime you use Flash ... a puppy dies .....
                      R.G Taylor
                      • 36549
                      • 572 Posts
                      Hi,

                      i’d like to test out this snippet but i’m struggling at stage 1...could someone give me an example of how the chunk would be written using the placeholders?

                      My html will something like this...

                      <div id="left-main-image">
                      <img src="#" alt="#" />
                      </div>
                      <div id="right-gallery">
                      <div class="right-gallery-thumbs">
                      <a href="#" title="#"/><img src="#" alt="#" /></a>
                      </div>
                      </div>


                      Thanks

                      J


                        www.9thwave.co.uk
                           WEB | DESIGN | PRINT