Working with external images
| From: | Voodoo | Date: | Mon, 13 Oct 2003 07:00:42 +0000 |
| Subject: | Working with external images | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-165929@lists.php.net to get a copy of this message | ||
I'm trying to write a script that can work with images as google does. I've
got an image with some unknown width and height, and I want to be able to
get this properties and use them to create a dynamic page with new size
attributes.
For example, if the image has 400x600 px, I want to display the line
<img src="someImage" width="40" height="60">
even if the script wasn't previosly told the image was 400x600 px. If the
image is 500x800, I want to change it to 50x80.
Can I do that with php?
Regards,
Voodoo