I spent all morning trying to figure this out. hopefully some can help me out. the script i have seems like it will use up all kinds of bandwidth so i figure id use my photobucket images instead of hosting all those images. here is the script- hopefully someone will tell me what should be altered. the thumbnails dont show up it doesnt pick up the contents in that folder..it starts at 1, there is no image numbered 1. site example page Resolv3dera.com
The code you posted isn't doing anything but scanning a directory. I typed in http://www.resolvedera.com/Alcohol/ and came up with all your images. It's taking all those image names, and you are slapping a URL on them. I checked your PhotoBucket, and you have some things such as "http://i160.photobucket.com/albums/t162/hotlyts24/socomments/watsip/whats_good.gif". If the filename doesn't match, then it won't work. Besides, this is a really weird way to do it. Why not just have a database of images, and you put in the URL pointing to photobucket?
Okay, try this then. Instead of loading files, set your $files variable to a list of images: $files = Array( "http://i160.photobucket.com/albums/t162/hotlyts24/socomments/watsip/whats_good.gif", "http://i160.photobucket.com/albums/t162/hotlyts24/socomments/watsip/whats_good.gif", "http://i160.photobucket.com/albums/t162/hotlyts24/socomments/watsip/whats_good.gif" ); When you print images out, don't put <?php echo $urlpath . $file; ?> just put <?php echo $file; ?>