From b2d21d51bd3532843fc6f6d18ba3665a12600985 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Wed, 16 May 2018 15:52:26 -0600 Subject: [PATCH] Add placeholder "No Image" image in editor --- lib/themefunctions.php | 18 +++++++- public/file.php | 9 +++- static/img/blankpixel.svg | 27 +++++++++++ static/img/no-image.svg | 95 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 146 insertions(+), 3 deletions(-) create mode 100644 static/img/blankpixel.svg create mode 100644 static/img/no-image.svg diff --git a/lib/themefunctions.php b/lib/themefunctions.php index 8884d3f..9cf4ccb 100644 --- a/lib/themefunctions.php +++ b/lib/themefunctions.php @@ -188,6 +188,8 @@ function get_component($name, $context = null, $echo = true, $default = "") { function is_component_empty($name, $context = null) { $comp = get_component($name, $context, false); $comp = strip_tags($comp, "