Skip to content
General Revolution Evolution Add-ons International
Login | Register | MODX.com
MODX Open Source Content Management System, Framework, Platform and More.
Find a Partner | Hosts + SaaS | Jobs | Donate
  • RegisterSign Up with the MODX Community
  • LoginUse Your MODX.com Account
  • MODX Community Forums
  • Evolution
  • In Development
  •  
  • <
  • 1
  • 2
  • 3
  • 4
  • 5
  • >
  • Highslide Image Gallery#

  • 4310
    2,246
    Snippets : eForm 1.4.4.7 with SMTP & PMS's security fixes | PHC Results | EasyNewsletter from CSV

    Wiki Articles : Custom DB table to placeholders | Manager Locked Out?

    Websites : Work - U.K. based MODx development  |  Hobby - Free interactive education resources for teaching 4 - 11 year olds

    Hosting : One Smart Host - Professional MODx hosting 

    bunk58 Reply #1, 4 years, 10 months ago

    Reply
    • Link to this post#1
    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
    655
    - Jabiertxo
    Mi trabajo
    marker | programaci

    xyzvisual Reply #2, 4 years, 10 months ago

    Reply
    • Link to this post#2
    very cool snipet
    hi


  • 33337
    3,899
    - MODX Special Forces
    Share and explore websites made in MODx by Zaigham's Web | Tweet @zaigham | Resource Center


    MODx Current | MODx on Git! | BUGS! | RTFM (Read the Fully awesome Manuals)

    Zaigham (aka zi) Reply #3, 4 years, 10 months ago

    Reply
    • Link to this post#3
    Nice work David!
    Thanks for sharing.


  • 32942
    141

    Xsss4hell Reply #4, 4 years, 10 months ago

    Reply
    • Link to this post#4
    * Two Thumbs UP *


  • 34017
    889
    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

    chucktrukk Reply #5, 4 years, 10 months ago

    Reply
    • Link to this post#5
    David,

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

    Chuck


  • 25547
    61

    Ross1234 Reply #6, 3 years, 10 months ago

    Reply
    • Link to this post#6
    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,246
    Snippets : eForm 1.4.4.7 with SMTP & PMS's security fixes | PHC Results | EasyNewsletter from CSV

    Wiki Articles : Custom DB table to placeholders | Manager Locked Out?

    Websites : Work - U.K. based MODx development  |  Hobby - Free interactive education resources for teaching 4 - 11 year olds

    Hosting : One Smart Host - Professional MODx hosting 

    bunk58 Reply #7, 3 years, 10 months ago

    Reply
    • Link to this post#7
    Thanks for the pointer.
    I've bookmarked it for a look.

    David


  • 31227
    198
    Pure MODx sites
    Viriko.ru & Viriko.com - Multilingual and running on 1 MODx

    Vait Reply #8, 3 years, 10 months ago

    Reply
    • Link to this post#8
    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?


  • 4310
    2,246
    Snippets : eForm 1.4.4.7 with SMTP & PMS's security fixes | PHC Results | EasyNewsletter from CSV

    Wiki Articles : Custom DB table to placeholders | Manager Locked Out?

    Websites : Work - U.K. based MODx development  |  Hobby - Free interactive education resources for teaching 4 - 11 year olds

    Hosting : One Smart Host - Professional MODx hosting 

    bunk58 Reply #9, 3 years, 10 months ago

    Reply
    • Link to this post#9
    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

    Ross1234 Reply #10, 3 years, 10 months ago

    Reply
    • Link to this post#10
    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


  • <
  • 1
  • 2
  • 3
  • 4
  • 5
  • >



Actions

Login to Post

Other Support Options

To file a bug or make a feature request visit our issue tracker, or you can also purchase commercial support.

Love MODX?

If you build sites for a living with MODX or just love using it, why not give back?

Information

Posted in this thread:
BobRay, Ross1234, Soshite, Terry, Vait, Xsss4hell, Yurgen, bunk58, cbaone, chivers, chucktrukk, fruitwerks, lastoftheromans, muzzargh, qlworx, sharkbait, sottwell, xyzvisual, zaigham

 
Back to Top

MODX Global HQ

1333 N Stemmons Fwy, Ste 110
Dallas, TX 75207
United States

+1 (469) 777-MODX (6639)

The MODX Company

  • Contact
  • Media Center
  • Work at MODX
  • Wall of Fame
  • The MODX Blog

Sponsors

SoftLayer Firehost: Secure Cloud Hosting

Stay Connected

Read our previous email newsletters.

Twitter Facebook Google+ LinkedIn github Feeds

Privacy Policy | Terms of Service | Pixels by AKTA Web Studio© 2005-2012 MODX. All rights reserved. Trademark Policy