diff --git a/src/Provider/ImageProvider.php b/src/Provider/ImageProvider.php index 287862f6f..b05e91993 100644 --- a/src/Provider/ImageProvider.php +++ b/src/Provider/ImageProvider.php @@ -102,7 +102,7 @@ public function getHelperProperties(MediaInterface $media, string $format, array } unset($options['picture']); - $pictureParams['img'] = $params + $options; + $pictureParams['img'] = array_merge($params, $options); $params = ['picture' => $pictureParams]; } elseif (MediaProviderInterface::FORMAT_ADMIN !== $format) { $srcSetFormats = $this->getFormats();