Jump to content
TNG Community

Another Random Phot0 problem


klooster

Recommended Posts

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 96

Benedit 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 Kloostermat

http://www.kloosterman.be

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...