diff --git a/src/assets/img/no-image.svg b/src/assets/img/no-image.svg new file mode 100644 index 00000000..946bd983 --- /dev/null +++ b/src/assets/img/no-image.svg @@ -0,0 +1,602 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + Jay + + + + + + + + + + + + + + + + + X + + diff --git a/src/classes/embed-cache.php b/src/classes/embed-cache.php index 0799003c..6928f28e 100644 --- a/src/classes/embed-cache.php +++ b/src/classes/embed-cache.php @@ -13,6 +13,7 @@ namespace wishthis; class EmbedCache { private string $directory = ROOT . '/src/cache'; + private string $noImage = '/src/assets/img/no-image.svg'; private string $identifier; private string $filepath; @@ -46,7 +47,7 @@ class EmbedCache $info_simplified->favicon = ''; $info_simplified->feeds = array(); $info_simplified->icon = ''; - $info_simplified->image = ''; + $info_simplified->image = $this->noImage; $info_simplified->keywords = array(); $info_simplified->language = ''; $info_simplified->languages = array();