i have a script that needs imagecopyresampled, but when i use it, i get and error that sais that its a call it an undefined function. Next, i tried imagecopyresized, but it sais the same thing. I have PHP Version 4.3.1, and Apache/1.3.27. Any ideas?
4.3.0 and thus 4.3.1 were shipped (umm distroed) with GD2.0.4 which accomodates imagecopyresampled.
If you are getting an undefined func return, I'd guess your host has disabled GD - probably through prior misuses and Thomas's snags with memory allocation.
thanks for your help Xerpher, but i found a much simpler way to make preview of images (and a pretty obvious way actually), i just did this <img src = whatever.jpg height = 120 width = 120>