diff --git a/src/Intervention/Image/AbstractDecoder.php b/src/Intervention/Image/AbstractDecoder.php index c4a4616d..9adc57f9 100644 --- a/src/Intervention/Image/AbstractDecoder.php +++ b/src/Intervention/Image/AbstractDecoder.php @@ -72,7 +72,8 @@ abstract class AbstractDecoder $context = stream_context_create($options); - if ($data = @file_get_contents($url)) { + + if ($data = @file_get_contents($url, false, $context)) { return $this->initFromBinary($data); }