mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
draft image renderer route
This commit is contained in:
parent
ac4e166eb3
commit
9be1f030f4
1 changed files with 13 additions and 0 deletions
|
|
@ -227,6 +227,19 @@ class Page
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
/* @TODO
|
||||||
|
case 'image/gif':
|
||||||
|
case 'image/jpeg':
|
||||||
|
case 'image/png':
|
||||||
|
case 'image/webp':
|
||||||
|
|
||||||
|
$this->content->setImage(
|
||||||
|
(string) $connection->getData()
|
||||||
|
);
|
||||||
|
|
||||||
|
break;
|
||||||
|
*/
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
||||||
throw new \Exception(
|
throw new \Exception(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue