From c34ce636639654be1862e3c39bda9be50e0fcd6e Mon Sep 17 00:00:00 2001 From: jade (winter) Date: Mon, 20 Jul 2026 15:02:06 +0100 Subject: add image support (lots of janky css) --- lib/bbcnext.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'lib/bbcnext.php') diff --git a/lib/bbcnext.php b/lib/bbcnext.php index f4ad4ec..9b10c08 100644 --- a/lib/bbcnext.php +++ b/lib/bbcnext.php @@ -39,6 +39,11 @@ function next_renderModule(stdClass $module) { . htmlspecialchars($module->description) . ''; } + if (isset($module->image_url)) { + echo ''; + } echo ''; if (!is_array($module->data)) { next_renderItem($module->data); @@ -96,6 +101,12 @@ function next_renderItem(stdClass $item) { . ''; } + if (isset($item->image_url)) { + echo ''; + } + if (isset($item->item)) { next_renderItem($item->item); } -- cgit v1.3