Page 1 of 1

filesystem

Posted: Mon Jun 02, 2003 11:09 pm
by nincha
is there a php functions that reads a .gif/.jpeg dimension and changes it???

Posted: Tue Jun 03, 2003 1:29 am
by delorian
There is one that gets the image size and dimensions - getimagesize http://php.net/manual/en/function.getimagesize.php. It returns an array with image info. I don't know if there is any function which changes the dimension of the pictures, but if you want just to resize it dynamicaly while your web page is loading, you can allways modify the information returned by the mentioned above function.