Browse Source

draft image renderer route

PHP-GTK3
yggverse 4 months ago
parent
commit
9be1f030f4
  1. 13
      src/Entity/Browser/Container/Page.php

13
src/Entity/Browser/Container/Page.php

@ -227,6 +227,19 @@ class Page @@ -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(

Loading…
Cancel
Save