Ver Mensaje Individual
  #4 (permalink)  
Antiguo 14/03/2006, 13:09
michelson
 
Fecha de Ingreso: febrero-2006
Mensajes: 208
Antigüedad: 18 años, 2 meses
Puntos: 0
hola

creo que asi se resuelve el problema, pero esta practica gasta recurso de memoria? hace que se demore mas la carga de fotos?


<?php
$img = @imagecreatefromjpeg( "../fotos_artistas/".$row_ve_artista['foto'] );

if ($img){
$img_width = imagesx($img);
$img_height = imagesy($img);

echo "My alto es " . $img_height. "pixeles";
echo "My ancho es " . $img_width. "pixeles";
}
?>




gracias
__________________
michelson
-----------------
crossing snow mountains with a yamaha bike