I'm having trouble using imagecopyresized() to create some thumbnails for my gallery site.
Here is the code I'm using:
<?php imagecopyresized('thumbnail.png','bigpic.png',0,0,0,0,60,38,600,380) ; ?>
<img src=thumbnail.png>
and i'm getting this error:
Warning: Supplied argument is not a valid Image resource
Is there something I'm forgetting to do?
As a side note, in case it's important, I'm able successfully to use these functions:
imageCreateFrompng()
imageSX()
imageCopyMerge()
imagepng()
...and I'm running PHP 4.0.6
THANKS!!!