Hi all,
You need to get an image height and width in PHP? which normally use in passport or profile pictures...now try this code am going to give you.
You need to get an image height and width in PHP? which normally use in passport or profile pictures...now try this code am going to give you.
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>PHP Get Image Dimensions</title>
</head>
<body>
<?php
list($width, $height) = getimagesize("images/banner.png");
echo "Width: " .$width." Height: " .$height;
?>
</body>
</html>
Hope it works
No comments:
Post a Comment