Results 1 to 3 of 3

Thread: Simple controls gallery v1.3 wont display more than 4 images

  1. #1
    Join Date
    Feb 2009
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Simple controls gallery v1.3 wont display more than 4 images

    1) Script Title: Simple controls gallery v1.3

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...plegallery.htm

    3) Describe problem: the gallery works great but as soon as i try to specify more images in the imagearray(more than 4) the gallery doesnt display on the page at all...please help
    Last edited by PHPJunior; 02-17-2009 at 12:34 PM.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Most likely there's an error in your syntax. Make sure, for example, that each image definition is followed by a comma (,), except the very last one. For example:

    Code:
    	imagearray: [
    		["http://i26.tinypic.com/11l7ls0.jpg", "http://en.wikipedia.org/wiki/Swimming_pool", "_new", "There's nothing like a nice swim in the Summer."],
    		["http://i29.tinypic.com/xp3hns.jpg", "http://en.wikipedia.org/wiki/Cave", "", ""],
    		["http://i30.tinypic.com/531q3n.jpg", "", "", "Eat your fruits, it's good for you!"],
    		["http://i31.tinypic.com/5thimage.jpg", "", "", ""],
    		["http://i31.tinypic.com/119w28m.jpg", "", "", ""] //<--no comma here
    	],
    DD Admin

  3. The Following User Says Thank You to ddadmin For This Useful Post:

    PHPJunior (02-17-2009)

  4. #3
    Join Date
    Feb 2009
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    oh my word what a stupid mistake...lol...thanks so much!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •