Hey,
What do the zero's mean in this code?:
imagecopyresized($dst_img,$src_img,0,0,0,0,$new_w,$new_h,imagesx($src_img),imagesy($src_img));
Are they quality settings or something?
check out: http://www.php.net/manual/en/function.imagecopyresized.php
int imagecopyresized ( resource dst_im, resource src_im, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH)
this function appears to copy a portion of the image so it needs the source dimensions from the upper left corner and info about the destination.
I would say that if 0 is passed you are requesting the entire image, not a portion.