From 685033bb02092139217fd6f8bd5b5ae59c2c19c5 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Tue, 27 Jan 2015 17:31:41 -0700 Subject: [PATCH] Went back to using regular image:// stream --- system/config/streams.yaml | 5 ----- system/src/Grav/Common/Page/Medium.php | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/system/config/streams.yaml b/system/config/streams.yaml index a5f9b3ac7..b26605130 100644 --- a/system/config/streams.yaml +++ b/system/config/streams.yaml @@ -5,11 +5,6 @@ schemes: - assets image: - type: ReadOnlyStream - paths: - - user://images - - imagecache: type: ReadOnlyStream paths: - images diff --git a/system/src/Grav/Common/Page/Medium.php b/system/src/Grav/Common/Page/Medium.php index f27db4a76..3695bc826 100644 --- a/system/src/Grav/Common/Page/Medium.php +++ b/system/src/Grav/Common/Page/Medium.php @@ -421,7 +421,7 @@ class Medium extends Data { $locator = self::$grav['locator']; - $images_dir = $locator->findResource('imagecache://'); + $images_dir = $locator->findResource('image://'); // TODO: add default file $file = $this->get($variable);