diff --git a/assets/img/nyan.png b/assets/img/nyan.png index 1811ad5..347403d 100644 Binary files a/assets/img/nyan.png and b/assets/img/nyan.png differ diff --git a/assets/img/nyan_social.png b/assets/img/nyan_social.png new file mode 100644 index 0000000..e818761 Binary files /dev/null and b/assets/img/nyan_social.png differ diff --git a/index.php b/index.php index d6dbecb..9e696c9 100644 --- a/index.php +++ b/index.php @@ -10,7 +10,7 @@ define('CACHE_IMG_NAME', 'nyan_%sx%s.jpeg'); define('SOCIAL_TITLE', 'Nyan Cat Placeholder'); define('SOCIAL_DESC', 'Replace your depressing image placeholder by a happy Nyan Cat image placeholder.'); - define('SOCIAL_IMG', URL.'/assets/img/nyan.png'); + define('SOCIAL_IMG', URL.'/assets/img/nyan_social.png'); function parsingError() { @@ -106,7 +106,7 @@ public function display() $dest = imagecreatetruecolor($this->width, $this->height); - $white = imagecolorallocate($dest, 255, 255, 255); + $white = imagecolorallocate($dest, 1, 38, 77); imagefilledrectangle($dest, 0, 0, $this->width, $this->height, $white); imageinterlace($dest, 1); imagecopyresized($dest, $src, $width_gap, $height_gap, 0, 0, $width, $height, IMG_SOURCE_WIDTH, IMG_SOURCE_HEIGHT); @@ -177,7 +177,7 @@ public function display()