Update image sources to use MinIO for thumbnail display
All checks were successful
Deploy Production (admin.crewsportswear.app) / deploy (push) Successful in 3m7s
All checks were successful
Deploy Production (admin.crewsportswear.app) / deploy (push) Successful in 3m7s
This commit is contained in:
@@ -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">
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user