Ver Mensaje Individual
  #2 (permalink)  
Antiguo 07/08/2008, 08:20
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 20 años, 4 meses
Puntos: 2135
Respuesta: cortar imagen usando ImageString

Hola hulray,

Ya te habia comentado como hacerlo:
Código PHP:
$f_pregunta = $row22["ex_pregunta"];
$broken = word_wrap( $f_pregunta, 20, "||" );
$words = explode( "||", $broken );
$increase = 30;
$start = 160;
foreach( 
$words as $sentence ) {
         
ImageString($im, 3, 100, $start, $sentence, $black);
         
$start += $increase;
} 
Saludos.