Topic: Warning: could not get image size for images...Using BuildGallery.php

Hello,
New to simpleviewer. I uploaded simpleviewer to my website and followed the recommended directory structure to try out the buildgallery.php script. However when I run the buildgallery.php script using the default settings I get the following error for each image in the images folder.

# Warning: could not get image size for images/20090515_0806.jpg (line 494)
# Warning: Thumbnail for 20090515_0806.jpg could not be created (line 471)
# Warning: could not get image size for images/20090515_0796.jpg (line 494)
# Warning: Thumbnail for 20090515_0796.jpg could not be created (line 471)

All files have the 777 permissions. The script builds the thumnails folder. But thats about it. Any suggestions as to what could be wrong?

Thanks,
Patrick