Skip to content

Commit 044ed77

Browse files
committed
fix: missing webp images
1 parent 464defc commit 044ed77

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Model/Display.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ protected function isSvgImage(string $imagePath): bool
190190
*/
191191
protected function getBreakPointImages($imagePath, $bpWidth, $bpHeight, $resize, $format = null)
192192
{
193+
$html = '';
193194
$imageUrl = $this->resize->resizeAndGetUrl($imagePath, $bpWidth, $bpHeight, $resize, $format);
194195
if ($imageUrl !== '') {
195196
$html = $imageUrl;

0 commit comments

Comments
 (0)