Manual

image functions

dbimagesize($data) {#dbimagesize}

{{lang:php}}
$small = $DB->get_val("SELECT small FROM images WHERE id=1");
print_r( dbimagesize($small) );
Try myPortal 2: