Results 1 to 4 of 4

Thread: I cannot add more picture to my fadeslideshow.js

  1. #1
    Join Date
    Jul 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default I cannot add more picture to my fadeslideshow.js

    Hi,

    I put a fadeslideshow.js in my web site and it works perfectly, but when I try to add more pictures on it the slide show doesn't show the new pictures.

    Who can help me with this?

    Thanks

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Please post a link to the page on your site that contains the problematic script so we can check it out.

    Please include your code so that we can take a look at it, we can't do much without it. When you do post your code remember to use [code] tags. That includes [ html ], [ code ], and [ php ].

    Please do the above before further assistance can be provided.

    My guess is that you forgot to add a comma:
    Code:
    ["http://i26.tinypic.com/11l7ls0.jpg", "", "", "Nothing beats relaxing next to the pool when the weather is hot."],
    ["http://i29.tinypic.com/xp3hns.jpg", "http://en.wikipedia.org/wiki/Cave", "_new", "Some day I'd like to explore these caves!"],
    ["http://i30.tinypic.com/531q3n.jpg"],
    ["http://i31.tinypic.com/119w28m.jpg", "", "", "What a beautiful scene with everything changing colors."],
    ["http://link-to-image.png"]
    Jeremy | jfein.net

  3. #3
    Join Date
    Jul 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    This is the fadeslideshow.js:

    <script type="text/javascript">

    var mygallery=new fadeSlideShow({
    wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
    dimensions: [700, 450], //width/height of gallery in pixels. Should reflect dimensions of largest image
    imagearray: [
    ["images/stefania.jpg", "", "", ""],
    ["images/familia.jpg"],
    ["images/ruben.jpg"],
    ["images/IMG_7675.jpg"], //<--This is the new photo that I can't see. It shows a black image
    ["images/cecilia1_2_3_tonemapped.jpg"], //<--no trailing comma after very last image element!
    ["images/adriana.jpg"]
    ],
    displaymode: {type:'auto', pause:3200, cycles:0, wraparound:false},
    persist: false, //remember last viewed slide and recall within same session?
    fadeduration: 1000, //transition duration (milliseconds)
    descreveal: "ondemand",
    togglerid: ""
    })


    </script>
    </head>

  4. #4
    Join Date
    Jul 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I have fixed the problem. The image was to big so I resized it and now it works.

    Thank for your support

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
  •