Add MinIO configuration and update image URLs in MainController
This commit is contained in:
@@ -31,7 +31,7 @@ class MainController extends Controller {
|
|||||||
foreach ($fetchData as $row) {
|
foreach ($fetchData as $row) {
|
||||||
?>
|
?>
|
||||||
<div class="col-md-3 col-sm-6 col-xs-12 list-sport">
|
<div class="col-md-3 col-sm-6 col-xs-12 list-sport">
|
||||||
<a href="<?php echo url('sports') . "/" . $row->URL; ?>"><img src="<?php echo config('site_config.uploads') . 'sports-thumbnails/' . $row->Thumbnail; ?>" alt="" class="img img-responsive product-center" /></a>
|
<a href="<?php echo url('sports') . "/" . $row->URL; ?>"><img src="<?php echo minio_url('uploads/images/sports-thumbnails/' . $row->Thumbnail); ?>" alt="" class="img img-responsive product-center" /></a>
|
||||||
<h3 class="text-center sports-title"><?php echo $row->SportsName ?></h3>
|
<h3 class="text-center sports-title"><?php echo $row->SportsName ?></h3>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
|
|||||||
Reference in New Issue
Block a user