Compare commits

..

3 Commits

Author SHA1 Message Date
Frank John Begornia
07cfe2b337 Update QR code image sources to use new API endpoint
All checks were successful
Deploy Production (admin.crewsportswear.app) / deploy (push) Successful in 3m16s
2026-04-02 15:50:53 +08:00
Frank John Begornia
f7d9759aae Update image sources to use MinIO for thumbnail display
All checks were successful
Deploy Production (admin.crewsportswear.app) / deploy (push) Successful in 3m7s
2026-04-02 03:12:44 +08:00
Frank John Begornia
b8d349f35d Update visualizer to use MinIO for thumbnail image URLs
All checks were successful
Deploy Production (admin.crewsportswear.app) / deploy (push) Successful in 1m59s
2026-02-23 01:49:25 +08:00
4 changed files with 7 additions and 7 deletions

View File

@@ -33,7 +33,7 @@
<div class="row"> <div class="row">
<div class="col-md-2"> <div class="col-md-2">
<div class="text-center"> <div class="text-center">
<img class="previewImage" id="active_thumbnail" src="{{ config('site_config.prod_private_server_ip') . ':5955/' . $array_thumbnail_display[0]->Image }}"> <img class="previewImage" id="active_thumbnail" src="{{ minio_url('images/' . $array_thumbnail_display[0]->Image) }}">
</div> </div>
</div> </div>
<div class="col-md-10"> <div class="col-md-10">

View File

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

View File

@@ -377,10 +377,10 @@
<table class="table table-condensed table-bordered" style="width: 100%; border-collapse: collapse; "> <table class="table table-condensed table-bordered" style="width: 100%; border-collapse: collapse; ">
<tr> <tr>
<td style="width: 100px; text-align: center;"> <td style="width: 100px; text-align: center;">
<img src="https://crewsportswear.app:5954/?text=00__00__00__{{$array_payment_details[0]->InvoiceNumber }}" height="72" alt="QRCode"> <img src="https://qr.crewsportswear.app/api/qr?text=00__00__00__{{$array_payment_details[0]->InvoiceNumber}}" height="72" alt="QRCode">
</td> </td>
<td style="text-align: right"> <td style="text-align: right">
<img src="https://crewsportswear.app:5954/?text=00__00__00__{{$array_payment_details[0]->InvoiceNumber }}" height="72" alt="QRCode"> <img src="https://qr.crewsportswear.app/api/qr?text=00__00__00__{{$array_payment_details[0]->InvoiceNumber}}" height="72" alt="QRCode">
</td> </td>
</tr> </tr>
</table> </table>
@@ -442,7 +442,7 @@
<td align="left" style="width: 180px;"> <td align="left" style="width: 180px;">
@foreach($img_thumb as $img) @foreach($img_thumb as $img)
@if($img->ProductId == $item->ProductId) @if($img->ProductId == $item->ProductId)
<img style="height: 150px; overflow: hidden; object-fit: contain;" src="{{ config('site_config.prod_private_server_ip') }}:5955/{{ $img->Image }}"> <img style="height: 150px; overflow: hidden; object-fit: contain;" src="{{ minio_url('images/' . $img->Image) }}">
<!-- <img class="previewImage" src="http://{{ config('site_config.prod_private_server_ip') }}/images/{{ $img->Image }}"> --> <!-- <img class="previewImage" src="http://{{ config('site_config.prod_private_server_ip') }}/images/{{ $img->Image }}"> -->
@endif @endif
@endforeach @endforeach

View File

@@ -96,8 +96,8 @@
<div class="item col-xs-4 col-lg-3"> <div class="item col-xs-4 col-lg-3">
<div class="thumbnail" style="padding: 5px;"> <div class="thumbnail" style="padding: 5px;">
<div class="store-logo"> <div class="store-logo">
<a href="{{ config('site_config.images_directory') . $visualizer->Thumbnail }}" data-toggle="lightbox"> <a href="{{ minio_url('uploads/images/' . $visualizer->Thumbnail) }}" data-toggle="lightbox">
<img class="img_store_logo_img" id="img_store_banner" src="{{ config('site_config.images_directory') . $visualizer->Thumbnail }}" style="max-width: 100%; max-height: 100%; "> <img class="img_store_logo_img" id="img_store_banner" src="{{ minio_url('uploads/images/' . $visualizer->Thumbnail) }}" style="max-width: 100%; max-height: 100%; ">
</a> </a>
</div> </div>
<div class="caption"> <div class="caption">