Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix media list if format is not auto (#245)
Browse files Browse the repository at this point in the history
benwalch authored Jan 22, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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
@@ -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)) {

0 comments on commit 1fb7112

Please sign in to comment.