Quote:
Originally posted by Vivi Ornitier
i haven't read any replies before me, i was just looking at the code and , index 3 of getimagesize contains the correct html height and width code. You don't have to use ysize of xsize.
|
I know, but I need the numeric values for the width and the height so I can scale down the image if it is larger than 640x480.
The index 3 value shows up like this: width="xxx" height="xxx", which means I have to further parse into it to extract those values, whereas I can just grab them from index 0 and 1.