I pixel li dovresti ottenere con le funzioni imegesx e imagesy. Da qui trovi i lati. Esempio Codice PHP: $img = "http://www.mysite.com/my_image.jpg"; // definisci l'immagine, anche da form se vuoi $img_height = imagesy($img); echo $img_height;
$img = "http://www.mysite.com/my_image.jpg"; // definisci l'immagine, anche da form se vuoi $img_height = imagesy($img); echo $img_height;
Regole del Forum