".$image_alt." "; ?> ".$image_alt." "; } /* |------------------------------------------------------------- | Start of displaying all info on image |------------------------------------------------------------- */ if ($image_present) { ?>

Description

Details

Author: ".$image_author."

"; // Image ID echo "

ID: ".$image['id']."

"; // Image Upload date echo "

Last updated: +0 ".$image['upload']."

"; ?>
File Name: ".$image_pathinfo['filename']."

"; // File extention echo "

File Type: ".pathinfo($image['imagename'], PATHINFO_EXTENSION)."

"; // Image resolution list($width, $height) = getimagesize($image_path); echo "

Image resolution: ".$width."x".$height."

"; function human_filesize($bytes, $decimals = 2) { $sz = 'BKMGTP'; $factor = floor((strlen($bytes) - 1) / 3); return sprintf("%.{$decimals}f", $bytes / pow(1024, $factor)) . @$sz[$factor]; } echo "

File size: ".human_filesize(filesize($image_path), 2)."

"; ?>
Download image"; ?>

Tags

".$tag."

"; } else { echo "

".$tag."

"; } } } else { echo "

No tags present

"; } ?>

Danger zone

"; } /* |------------------------------------------------------------- | End of displaying all user info |------------------------------------------------------------- */ } ?>