diff --git a/app/Helper/Image.php b/app/Helper/Image.php index 18f8585..f32a9bd 100644 --- a/app/Helper/Image.php +++ b/app/Helper/Image.php @@ -67,6 +67,9 @@ class Image { Storage::disk("cache")->put($cacheName, $jpg); + $image->refreshCache = false; + $image->saveOrFail(); + $file = new File("cache", $cacheName); $file->setContent($jpg); unset($jpg);