klooster Posted March 20, 2005 Report Share Posted March 20, 2005 I tried to implement Wayne Kenna's, random photo script on my webpage. The random-photo script works alone fine. But put into the index.php like this:<?php include("genealogy/random-photo.php" );?>-----------------------------I get a errormesage :Warning: getimagesize(photos/Benedit Kloosterman-kind.jpg) [function.getimagesize]: failed to open stream: No such file or directory in c:wampwwwgenealogyrandom-photo.php on line 96Benedit Kloosterman-----------------------------So the name of the photo is displayed but not the actual photo itself ??the error line 96 is:-----------------------list($width, $height, $type, $attr) = getimagesize($image); ------------------------------------------------------------------Anybody know a solutution ???Cees Kloostermathttp://www.kloosterman.be Quote Link to comment Share on other sites More sharing options...
klooster Posted March 21, 2005 Author Report Share Posted March 21, 2005 Well, solved the problem myself !!added:$cms = "../";works fine now ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.