We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4310
    • 2,310 Posts
    This is a port of Torstein Honsi’s Highslide.js image effect.

    Highslide JS is licensed under a Creative Commons Attribution-NonCommercial 2.5 License (http://creativecommons.org/licenses/by-nc/2.5/).

    This is my first attempt at a snippet so feel free to improve the coding as I know very little PHP and even less Javascript.

    View a demo of the snippet at 3913.co.uk.

    There are a limited number of parameters available, because I ignored a lot of possible options in order to get it up and running quickly and simply.
    I love MaxiGallery but sometimes want to upload several large galleries quickly, without captions, comments etc.
    The idea was to get a good looking ajaxified style gallery that you FTP the images up to and that noobs like me can install easily.

    The zip file contains all the files and a set of instructions.
    Feedback any thoughts and or improvements.

    Tested on MODx 0.9.5 RC2 & 0.9.6 RC1 using IE6 & 7, Ffox 1.5.0.11, Netscape 8.1.2 & Opera 9.10
    Can someone have a look using Safari?

    Also "Valid XHTML 1.0 Transitional"

    Regards,
    David


      • 32982
      • 674 Posts
      very cool snipet
      hi
        Jabiertxof (formerly XYZVISUAL)
        My bussines: http://marker.es
        https://www.youtube.com/user/jabiertxof/videos
        • 33337
        • 3,975 Posts
        Nice work David! smiley

        Thanks for sharing.
          Zaigham R - MODX Professional | Skype | Email | Twitter

          Digging the interwebs for #MODX gems and bringing it to you. modx.link
          • 32942
          • 141 Posts
          * Two Thumbs UP *
            • 34017
            • 898 Posts
            David,

            This snippet is a real winner! Perfect for quick galleries.

            Chuck
              Chuck the Trukk
              ProWebscape.com :: Nashville-WebDesign.com
              - - - - - - - -
              What are TV's? Here's some info below.
              http://modxcms.com/forums/index.php/topic,21081.msg159009.html#msg1590091
              http://modxcms.com/forums/index.php/topic,14957.msg97008.html#msg97008
              • 25547
              • 61 Posts
              Maybe add this in the next version but with width and height as parameters instead of in the php?

              change the paths to thumbnails to use this resizer script

              http://tech.mikelopez.info/2006/03/02/php-image-resize-script/

              Creates thumbnails with smaller file sizes "on the fly"

              Then call the same way as before

              so the file path is $file_dir = ’assets/galleries/’.$Gname.’/’;

              and the thumbnail path is $thumbs_dir = ’/imgsize-1.php?w=120&h=90&img=’.$file_dir.;

              (remove fullsize from file path.)

              if you could incorporate the width and hight as parameters that would be great.

              (thats my input to modx LOL)

              ps. is it allowed to remove the highslide text at the top left and replace with a copyright notice? I don’t think it is and you have done that.

                • 4310
                • 2,310 Posts
                Thanks for the pointer.
                I’ve bookmarked it for a look.

                David
                  • 31227
                  • 198 Posts
                  Ive liked the fx but the downside is whenever I click on next and the next image comes up, I have to move the mouse to click on the next button (using safari) - is it supposed to be this way? I clicked on 5 images and it already got irritating.. is it possible to set a static position for the buttons?
                    Pure MODx sites
                    Viriko.ru & Viriko.com - Multilingual and running on 1 MODx
                    • 4310
                    • 2,310 Posts
                    The control bar is set relative to the image, ie top right, bottom left etc.
                    If you have images of different sizes then the control bar would "move"
                      • 25547
                      • 61 Posts
                      Quote from: Vait at Apr 10, 2008, 07:13 AM

                      Ive liked the fx but the downside is whenever I click on next and the next image comes up, I have to move the mouse to click on the next button (using safari) - is it supposed to be this way? I clicked on 5 images and it already got irritating.. is it possible to set a static position for the buttons?

                      You can use your keyboard