Skip to content

Commit

Permalink
Remove named route 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Jade-GG authored Dec 18, 2024
1 parent cd30b78 commit ca6e4c4
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions resources/views/product/partials/gallery/slider.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@
class="flex h-[440px] cursor-zoom-in items-center justify-center rounded border p-5"
>
<img
src="{{ route('resized-image', [
'store' => config('rapidez.store'),
'size' => '400',
'placeholder' => 'magento',
'file' => 'catalog/product' . Arr::first($product->images),
'webp' => '.webp',
]) }}"
src="/storage/{{ config('rapidez.store') }}/resizes/400/magento/catalog/product/{{ Arr::first($product->images) }}.webp"
{{-- src should always be above v-bind:src --}}
v-bind:src="'/storage/{{ config('rapidez.store') }}/resizes/400/magento/catalog/product' + images[active] + '.webp'"
alt="{{ $product->name }}"
Expand Down

0 comments on commit ca6e4c4

Please sign in to comment.