diff --git a/website/public/img/avatar-standard.png b/website/public/img/avatar-standard.png new file mode 100644 index 0000000..21ab818 Binary files /dev/null and b/website/public/img/avatar-standard.png differ diff --git a/website/public/img/notbad.jpg b/website/public/img/notbad.jpg deleted file mode 100644 index eeea126..0000000 Binary files a/website/public/img/notbad.jpg and /dev/null differ diff --git a/website/queries/friendship.php b/website/queries/friendship.php index 0deba63..5c15805 100644 --- a/website/queries/friendship.php +++ b/website/queries/friendship.php @@ -7,7 +7,7 @@ function selectAllFriends($userID) { `username`, IFNULL( `profilepicture`, - '../img/notbad.jpg' + '../img/avatar-standard.png' ) AS profilepicture, `onlinestatus`, `role` @@ -38,7 +38,7 @@ function selectAllFriendRequests() { `username`, IFNULL( `profilepicture`, - '../img/notbad.jpg' + '../img/avatar-standard.png' ) AS profilepicture, `onlinestatus`, `role` diff --git a/website/queries/header.php b/website/queries/header.php index e6bc8ac..b0dd42c 100644 --- a/website/queries/header.php +++ b/website/queries/header.php @@ -6,7 +6,7 @@ function getHeaderInfo() { `lname`, IFNULL( `profilepicture`, - 'img/notbad.jpg' + 'img/avatar-standard.png' ) AS profilepicture FROM `user` diff --git a/website/queries/user.php b/website/queries/user.php index 114d673..bfa55f4 100644 --- a/website/queries/user.php +++ b/website/queries/user.php @@ -23,7 +23,7 @@ function selectUser($userID) { `username`, IFNULL( `profilepicture`, - '../img/notbad.jpg' + '../img/avatar-standard.png' ) AS profilepicture, `bio`, `role`, diff --git a/website/views/chat-view.php b/website/views/chat-view.php index 549a5ff..ced8e4f 100644 --- a/website/views/chat-view.php +++ b/website/views/chat-view.php @@ -17,7 +17,7 @@ // Set default values of a friend. $username = $friend["username"]; $userID = $friend["userID"]; - $pf = "img/notbad.jpg"; + $pf = "img/avatar-standard.png"; // Change values if needed. if (!empty($friend["profilepicture"])) diff --git a/website/views/menu.php b/website/views/menu.php index b7651bd..7795817 100644 --- a/website/views/menu.php +++ b/website/views/menu.php @@ -21,7 +21,7 @@ // Set default values of a friend. $username = $friend["username"]; $extraItem = ""; - $pf = "img/notbad.jpg"; + $pf = "img/avatar-standard.png"; // Change values if needed. if (!empty($friend["profilepicture"])) @@ -95,7 +95,7 @@ // Set default values of a friend. $name = $group["name"]; $extraItem = ""; - $picture = "img/notbad.jpg"; + $picture = "img/avatar-standard.png"; // Change values if needed. if (!empty($group["picture"]))