We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a0ea4a commit 7dabb19Copy full SHA for 7dabb19
app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Gallery/Content.php
@@ -134,7 +134,7 @@ public function getImagesJson()
134
is_array($value['images']) &&
135
count($value['images'])
136
) {
137
- $mediaDir = $this->_filesystem->getDirectoryRead(DirectoryList::MEDIA);
+ $mediaDir = $this->_filesystem->getDirectoryRead(DirectoryList::MEDIA);
138
$images = $this->sortImagesByPosition($value['images']);
139
foreach ($images as &$image) {
140
$image['url'] = $this->_mediaConfig->getMediaUrl($image['file']);
0 commit comments