Skip to content

Commit

Permalink
fix: missing webp images
Browse files Browse the repository at this point in the history
  • Loading branch information
kpitn committed Feb 28, 2024
1 parent 464defc commit 044ed77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Model/Display.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ protected function isSvgImage(string $imagePath): bool
*/
protected function getBreakPointImages($imagePath, $bpWidth, $bpHeight, $resize, $format = null)
{
$html = '';
$imageUrl = $this->resize->resizeAndGetUrl($imagePath, $bpWidth, $bpHeight, $resize, $format);
if ($imageUrl !== '') {
$html = $imageUrl;
Expand Down

0 comments on commit 044ed77

Please sign in to comment.