Wade Smart wrote: > 03232008 1655 GMT-6 > > Working on the final part - saving the image. > Im trying to save the image but Im getting that message: > cannot be displayed, because it contains error > message. > > I have imagepng($img_handle, $saveAs, 0); > $saveAS = $date."-".$time.".png"; > > Wade
03232008 2104 GMT-6 Going through the forums on several sites Im not the only one having this problem. And its still confusing as some say that the second parameter is a file name and some say its a destination. And it seems to work either way for many - which I dont understand that at all. I simplified this out to just: $saveTo = "new_picts/" $saveAs = "NewFile.png" and tried imagepng($img_handle, $saveTo) and imagepng($img_handle. $saveAs); and neither work. Adding in the third and four parmeter as several posts say you must have, I added 0, NULL but that didnt help either. As for right now, only imagepng($img_handle); seems to work. Wade