Re: Achicar una Imagen
| From: | Angel Fenoy | Date: | Wed, 20 Sep 2000 18:45:12 +0000 |
| Subject: | Re: Achicar una Imagen | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-1751@lists.php.net to get a copy of this message | ||
Roberto Leal Guerra escribió:
>
> Mas facil <img src="imagen.gif" width="30"
> height="30">
>
> con el width y height puedes dimensionar cualquier imagen.
>
> Saludos
> Ing. Roberto Leal Guerra
> Editora el Sol, S.A.
> Tel. (8) 345-5100 ext. 2972
> email: rleal@elnorte.com.mx
>
Así no la achicas realmente, pero tal vez le sirva. El servidor web la
envia tal cual, y el browser la muestra (o no) del tamaño que le dices
con width y height.
Para achicarla realmente: imagecopyresized()
http://snaps.php.net/manual/es/html/function.imagecopyresized.html
Un saludo
Àngel