We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 057f47b commit 34e15a1Copy full SHA for 34e15a1
app/code/Magento/MediaGallerySynchronization/Model/CreateAssetFromFile.php
@@ -82,7 +82,7 @@ public function execute(string $path): AssetInterface
82
* SPL file info is not compatible with remote storages and must not be used.
83
*/
84
$file = $this->getFileInfo->execute($absolutePath);
85
- [$width, $height] = getimagesize($absolutePath);
+ [$width, $height] = getimagesizefromstring($absolutePath);
86
$meta = [
87
'size' => $file->getSize(),
88
'extension' => $file->getExtension(),
0 commit comments