Click to See Complete Forum and Search --> : Please help me get this script to work!


crossbone
02-04-2008, 03:36 AM
First off, I'm new at this so assume I'm a complete novice. I'm trying to set up my site that includes a photo slideshow. Searching from the web, I discovered this free php script that works on most platform here:
http://panmental.de/public/programming_projects/Slideshow%20script%20in%20PHP/#iframe
To simplify, the script is first customized, saved then uploaded onto the server. the file that contains the script is supposed to go to the same directory as the photos. I did everything but when I ran the script, there were only control buttons but no photos Sad
can someone be kind enough to try this and tell me if it works for you?
thanks!!

Crossbone

furnissg
02-04-2008, 06:26 AM
can you post your code and also the directory structure of where the photos are and where the script is from the base directory?

crossbone
02-04-2008, 09:06 AM
I put the .php file in the same folder as my photos. btw it's not my code and it's very long so I can't paste it here. you can get the code my downloading it yourself from the site I gave.
thanks.

furnissg
02-04-2008, 09:27 AM
ok so i just downloaded the file put it in my image directory and it worked fine without any modifications, however it didnt display any png images.

so i would make sure your images are jpg's

also check which GD library your server has running.

create a php file and insert the code:

<?php

phpinfo();

?>

upload and run, on the list should be some info on GD

check it against the info on the scripts site

crossbone
02-05-2008, 09:24 AM
furnissg,
I did as you advised and the GD version is 2.0.28. jpg, png etc are all enabled. what should I look for in the script with this info? btw, all my pix are jpgs.
thanks!

furnissg
02-05-2008, 09:30 AM
the script says

$GD_WORKAROUND="";//set this to "oldGD" or "newGD" to switch off automatic GD version detection
//set to "oldGD" if you experience any trouble with the browse mode!

so try set it to oldGD see if that helps

apart from that im not sure,