Monday, November 17, 2014

keep original width , height when upload

if($info['mime'] == 'image/gif') $src = imagecreatefromgif($uploadedfile); $o_wd = imagesx($src); // original width $o_ht = imagesy($src);// original height }

No comments:

Post a Comment