Skip to content

Commit

Permalink
fix media list if format is not auto (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
benwalch authored Jan 22, 2025
1 parent 3621ff3 commit 1fb7112
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Service/AssetService.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,6 @@ private function parseThumbnailPictureList(Asset\Image\Thumbnail $thumbnail, arr
continue;
}

if (!$isAutoFormat) {
continue;
}

foreach ($thumbConfig->getAutoFormatThumbnailConfigs() as $autoFormatConfig) {
$autoFormatThumbnailAttributes = $this->getSourceTagAttributes($thumbnail, $autoFormatConfig, $mediaQuery, $image, $thumbnailOptions);
if (!empty($autoFormatThumbnailAttributes)) {
Expand Down

0 comments on commit 1fb7112

Please sign in to comment.