[PHP] Working with external images

2003-10-13 Thread Voodoo
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: Working with external images

2003-10-13 Thread Voodoo
Just found it. If anyone is interested, $src_image=myImage; $picsize=getimagesize($src_image); $source_x = $picsize[0]; $source_y = $picsize[1]; echo $source_x. x .$source_y; Thanks anyway, Voodoo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net