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:

  1. You specify the correct image path there
  2. Read the image
  3. 755
Trying to preface the path also with help of $ _ server [DOCUMENT_ROOT] When you are unable to read the files


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -