<?php
$getimagesize = getimagesize('example/image/path/file.png');
print_r($getimagesize);
exit;
/*
THE ABOVE CODE OUTPUTS:
Array
(
[0] => 1748
[1] => 1165
[2] => 2
[3] => width="1748" height="1165"
[bits] => 8
[channels] => 4
[mime] => image/jpeg
)
*/
Do you like this Tutorial? Please link back to this article by copying one of the codes below.
URL: HTML link code: BB (forum) link code:
No comments: