Ver Mensaje Individual
  #3 (permalink)  
Antiguo 28/02/2010, 06:19
Hamil
 
Fecha de Ingreso: octubre-2009
Mensajes: 54
Antigüedad: 14 años, 6 meses
Puntos: 2
Respuesta: Recortar imagen

Hola,

cambia esta linea:
imagecopyresampled($dst_r, $img_r, 0, 0, 1024, 768, $targ_w, $targ_h, 1024, 768);

por esta:
imagecopyresampled($dst_r, $img_r, 0, 0, 0, 0, $targ_w, $targ_h, 1024, 768);

Saludos.