php looping images from directory into jquery slimbox
I'm trying to use php to grab jpgs from a gallery directory, dynamically resize them and spit them out in a loop to be used with slimbox/lightbox. Everything seems to work great in IE but in Firefox it says there are 14 images (this number can vary) in the slideshow but I'm only testing with 3 images. When I go through the slideshow, it goes through all 3 images then repeats the last image until it hits the end of the phantom iterations. Very strange indeed. Any thoughts on what's wrong?