diff --git a/account/account.php b/account/account.php index 672f38c..ae2bfa1 100644 --- a/account/account.php +++ b/account/account.php @@ -12,7 +12,6 @@
File Name: ".$image['imagename']."
"; + if (strlen($image['imagename']) > 30) { + echo "File Name: ".trim(substr($image['imagename'], 0, 30))."...
"; + } else { + echo "File Name: ".$image['imagename']."
"; + } - // Image Upload date - echo "Last updated: ".$image['upload']." (+0)
"; + // File extention + echo "File Type: ".pathinfo($image['imagename'], PATHINFO_EXTENSION)."
"; // Image resolution list($width, $height) = getimagesize($image_path); echo "Image resolution: ".$width."x".$height."
"; + // Image Upload date + echo "Last updated: ".$image['upload']." (+0)
"; + // Image download echo "Could not connect to database
"; -} -?> diff --git a/ui/header.php b/ui/header.php index 0bd92b3..47a98d8 100644 --- a/ui/header.php +++ b/ui/header.php @@ -1,14 +1,18 @@ connect_error) { + echo "Could not connect to database
"; +} + // Check which directory icons are in if (is_dir("assets/icons/")) { $dir = "assets/icons/"; diff --git a/upload.php b/upload.php index a76e673..d98df5c 100644 --- a/upload.php +++ b/upload.php @@ -12,7 +12,6 @@