Refactor image URLs to use MinIO storage for improved asset management
All checks were successful
Deploy Production (crewsportswear.com) / deploy (push) Successful in 2m39s

This commit is contained in:
Frank John Begornia
2026-04-02 03:04:49 +08:00
parent 60fcf08cbc
commit c16203110b
15 changed files with 25 additions and 24 deletions

View File

@@ -138,7 +138,7 @@
<div class="text-center">
@foreach($img_thumb as $img)
@if($img->ProductId == $item->ProductId)
<img class="previewImage" src="{{ config('site_config.images_url') }}/{{ $img->Image }}">
<img class="previewImage" src="{{ minio_url('images/' . $img->Image) }}">
@endif
@endforeach
</div>

View File

@@ -64,7 +64,7 @@
<table class="table">
<tr>
<td rowspan="2" class="text-center"><img class="previewImage" src="http://{{ config('site_config.images_url') }}/{{ $item->Image }} "></td>
<td rowspan="2" class="text-center"><img class="previewImage" src="{{ minio_url('images/' . $item->Image) }}"></td>
<td colspan="5">
<h4>{{ $item->ProductName }} {{ $itemOrder }} <br>Price: ${{ $item->Price }}</h4>
</td>