php - Get Image Height and Width as integer values? -
I have tried to use the PHP function, but I want to extract image width and height as an integer value Was unable to.
How can I get it?
Try this way:
list ($ width, $ Height) = matching ('path_to_image');
Be sure to:
- You specify the correct image path there
- Read the image
- 755
$ _ server [DOCUMENT_ROOT]
When you are unable to read the files
Comments
Post a Comment