From 9be1f030f46aa6333c16a2685a795467d510734b Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 17 Jul 2024 21:01:03 +0300 Subject: [PATCH] draft image renderer route --- src/Entity/Browser/Container/Page.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/Entity/Browser/Container/Page.php b/src/Entity/Browser/Container/Page.php index 6686301a..b8ec9c3e 100644 --- a/src/Entity/Browser/Container/Page.php +++ b/src/Entity/Browser/Container/Page.php @@ -227,6 +227,19 @@ class Page break; + /* @TODO + case 'image/gif': + case 'image/jpeg': + case 'image/png': + case 'image/webp': + + $this->content->setImage( + (string) $connection->getData() + ); + + break; + */ + default: throw new \Exception(