php: get image size

by prettyscripts on 2008-12-04 14:11:21 • Leave a comment »

php

to access basic image information like width and height, call getimagesize(), which returns data in array format as followsArray( [0] => 640 // width [1] => 426 // height [2] => 2 // not sure what this is. anyone? [3… more »

Tags: image, php, size