![](http://www.software-p2p.com/descargar/uploads/thumbnails/thumb_1211583568emule5gj.jpg)
saludos y gracias
Código PHP:
$thumb_dir = "uploads/thumbnails"; // No trailing slash
$sShot_explode = explode("screenshots/", $sShot);
$filename = $sShot_explode[1];
$src = ImageCreateFromJPEG($sShot);
$filesize = filesize($sShot);
$org_h = imagesy($src);
$org_w = imagesx($src);
$height = $thumb_height;
$width = $thumb_width;
$img = ImageCreate($width,$height);
ImageCopyResized($img, $src, 0, 0, 0, 0, $width, $height, $org_w, $org_h);
ImageJPEG($img, $thumb_dir."/".time()."thumb_".$filename, 75);
$thumb = $thumb_dir."/".time()."thumb_".$filename;
ImageDestroy ($img);
ImageDestroy ($src);