Skip to content

Commit afcf08d

Browse files
committed
Use mime-type from getimagesizefromstring()
1 parent 160a1d2 commit afcf08d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ImageInfo/Guzzle5.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public static function getImagesInfo(array $urls, array $config = null)
3636
'width' => $size[0],
3737
'height' => $size[1],
3838
'size' => $size[0] * $size[1],
39-
'mime' => $response->getHeader('Content-Type'),
39+
'mime' => $size['mime'],
4040
] + $urls[$i];
4141
}
4242
}

0 commit comments

Comments
 (0)