Skip to content

Commit 59f3fb1

Browse files
authored
add asset path to thumbnail data
1 parent 13c758f commit 59f3fb1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Service/AssetService.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ private function buildAssetData(?Asset\Image $asset, ?Image\Thumbnail $thumbnail
4949
'markup' => $thumbnail?->getHtml($options),
5050
'mediaList' => $thumbnail === null ? null : $this->parseThumbnailPictureList($thumbnail, $options),
5151
'path' => $thumbnail?->getFrontendPath(),
52+
'originalPath' => $asset->getFrontendPath(),
5253
'lowQualityPlaceholder' => $this->parseLowQualityPlaceholder($asset),
5354
];
5455
}

0 commit comments

Comments
 (0)