Fixed #8680 - location image path

This commit is contained in:
snipe 2020-11-09 21:08:19 -08:00
parent 89d9b830a0
commit ede20523f2

View file

@ -127,7 +127,7 @@
@if ($location->image!='') @if ($location->image!='')
<div class="col-md-12 text-center" style="padding-bottom: 20px;"> <div class="col-md-12 text-center" style="padding-bottom: 20px;">
<img src="{{ app('locations_upload_url') }}/{{ $location->image }}" class="img-responsive img-thumbnail" alt="{{ $location->name }}"> <img src="{{ Storage::disk('public')->url('locations/'.e($location->image)) }}" class="img-responsive img-thumbnail" alt="{{ $location->name }}">
</div> </div>
@endif @endif
<div class="col-md-12"> <div class="col-md-12">