Tuesday, 20 January 2015

get image height and width in php

<?php list($width, $height) = getimagesize('path_to_image');
echo $width."<br/>";
echo $height; 
?>
 
 
 
Powered by Crawlers group

No comments:

Post a Comment