How can we get the properties (size, type, width, height) of an image using PHP image functions?


To know the Image type use exif_imagetype () function
To know the Image size use getimagesize () function
To know the image width use imagesx () function
To know the image height use imagesy() function

Advertisements