CODE
LIBARY.COM
Home
/
PHP
PHP Array Get Image Properties
Array Get Image Properties
<? $i = @getimagesize("a.jpg"); echo "Width: $i[0] Height: $i[1]"; ?>
$i = @getimagesize("a.jpg"); echo "Width: $i[0] Height: $i[1]"; ?>
Copy to Clipboard
Related Snippets
PHP "PHP Ordinal Suffix: Add th, st, nd or rd to Numbers"
PHP PHP Web Application - Displaying People and their Colors
PHP Convert Snake Case to Camel Case with PHP | Laravel Inspired
PHP Web-Based Random Post Generator
PHP Count Files in Directory
PHP Web Based Social Media Sharing Buttons
PHP Converting Repeater Field to Standard WP Meta Field in PHP
PHP Recursive Array Replace by Key or Value
PHP Files sorting by name
PHP Directory Size Calculator Class