Skip to content

Commit

Permalink
Image resizer route 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Jade-GG authored Dec 18, 2024
1 parent ca6e4c4 commit 458824e
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,7 @@
'max-sm:hidden' => $imageId > $breakpoints['xs'],
])>
<img
src="{{ route('resized-image', [
'store' => config('rapidez.store'),
'size' => '80x80',
'placeholder' => 'magento',
'file' => 'catalog/product' . $image,
'webp' => '.webp',
]) }}"
src="/storage/{{ config('rapidez.store') }}/resizes/80x80/magento/catalog/product/{{ $image }}.webp"
alt="{{ $product->name }}"
class="block max-h-full w-auto object-contain"
width="80"
Expand Down

0 comments on commit 458824e

Please sign in to comment.