Ver Mensaje Individual
  #2 (permalink)  
Antiguo 06/03/2004, 15:33
jaimeramirez
 
Fecha de Ingreso: marzo-2004
Mensajes: 17
Antigüedad: 20 años, 1 mes
Puntos: 0
intente

intente con esto y sigue sin funcionar AYUDA please

####genera los thumbnails#####
<?
Header( "Content-Type: image/jpeg");
$image_size = getimagesize ($image_file);
$width = ($height * $image_size[0]) / $image_size[1];
$img_pre = imagecreatefromjpeg ($image_file);
$img_post = ImageCreateTrueColor ($width, $height);
imagecopyresized ($img_post, $img_pre, 0, 0, 0, 0, $width, $height,
$image_size[0], $image_size[1]);
imagejpeg ($img_post, '', 80);

##texto sobre thumbnails
imagettftext($im, 20, 0, 10, 20,

$white, "./fuentes/flatline.ttf", "http://jaime.eledificio.cl");
imagedestroy($img_post);
?>
##############################

en poner el texto sobre los thumbnails (imagen fija "no creada") tengo problemas, simplemente no lo pone :(

tengo gd instalado y tambien tengo fuentes ttf no se que puede pasar

Última edición por jaimeramirez; 06/03/2004 a las 15:35