Hey Guys,

I am developing code that uses GD to create and store an image but it is giving me 
trouble with GetImageSize, maybe you guys can offer some ideas.  Here's my code:

echo "<div id=\"zimg\" class=\"zoom\"><img 
src=\"create_image.php?image=".$imgpath.$fileid.".jpg&mergesrc=images/hide.jpg&cache=1\"
 onMouseOut=\"hideObject(zimg)\" onMouseDown=\"hideObject(zimg)\" 
border=\"0\"></div>\n";

$img_data = GetImageSize($imgpath.$imgname_full);

The first line creates and stores the image while the second line calls file 
information on it.  Procedurally, the image exists at the point which GetImageSize is 
called, however, GetImageSize returns a false result on the pointer when it looks for 
the file. All the paths are fine but there is something going cock-eyed during the 
execution.

Can anyone offer ideas?  I have already tried both declaring an absolute path and 
checking the variables arlready.

Thanks,
Nathan Taylor

Reply via email to