Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get image size php

$image_size = $_FILES["inputfilename"]["size"];
/*Not From Form*/
$img_size = getimagesize("imagepath"); // returns an array that is filled with info
print_r($img_size);
 
PREVIOUS NEXT
Tagged: #image #size #php
ADD COMMENT
Topic
Name
1+1 =