Skip to content
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.

Commit

Permalink
Fix image display in the image information view (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
mzur committed Mar 8, 2019
1 parent 2c9717f commit bf44177
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/resources/views/images/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@
<div class="row">
<div class="col-sm-6 col-lg-4">
<div class="panel panel-default panel-image">
@if (File::exists($image->thumbPath))
<img src="{{ thumbnail_url($image->uuid) }}">
@else
<img src="{{ asset(config('thumbnails.empty_url')) }}">
@endif
<img src="{{ thumbnail_url($image->uuid) }}" onerror="this.src='{{ asset(config('thumbnails.empty_url')) }}'">
</div>
@include('volumes::images.index.meta')
</div>
Expand Down

0 comments on commit bf44177

Please sign in to comment.