Código PHP:
Ver original
$sizex = $_GET['x']; $sizey = $_GET['y']; $filep = $_GET['p']; imagecopyresized($img_new, img_ori, 0, 0, 0, 0, $sizex, $sizey, imagesx($img_ori), imagesy($img_ori));
En donde la url es:
Cita:
Error:thumbnail.php?x=100&y=100&p=images/imagen.jpg
Cita:
Sinceramente ya no se cual es el error, espero me ayuden.Warning: imagecopyresized(): supplied argument is not a valid Image resource in C:\AppServ\www\thumbnail.php on line 8
Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\thumbnail.php:8) in C:\AppServ\www\thumbnail.php on line 9
Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\thumbnail.php:8) in C:\AppServ\www\thumbnail.php on line 9
Gracias de antemano