#47: Linked the default view photo image to the photo page itself
This commit is contained in:
parent
34a6c446a9
commit
5092335761
@ -33,7 +33,7 @@
|
|||||||
@foreach ($photos as $photo)
|
@foreach ($photos as $photo)
|
||||||
<div class="col-sm-6 col-md-4 photo mb-3">
|
<div class="col-sm-6 col-md-4 photo mb-3">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<img src="{{ $photo->thumbnailUrl('preview') }}" alt="" class="card-img-top"/>
|
<a href="{{ $photo->url() }}"><img src="{{ $photo->thumbnailUrl('preview') }}" alt="" class="card-img-top"/></a>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<h4 class="card-title"><a href="{{ $photo->url() }}">{{ $photo->name }}</a></h4>
|
<h4 class="card-title"><a href="{{ $photo->url() }}">{{ $photo->name }}</a></h4>
|
||||||
</div>
|
</div>
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
@foreach ($photos as $photo)
|
@foreach ($photos as $photo)
|
||||||
<div class="col-sm-6 col-md-4 photo mb-3">
|
<div class="col-sm-6 col-md-4 photo mb-3">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<img src="{{ $photo->thumbnailUrl('preview') }}" alt="" class="card-img-top"/>
|
<a href="{{ $photo->url() }}"><img src="{{ $photo->thumbnailUrl('preview') }}" alt="" class="card-img-top"/></a>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<h4 class="card-title"><a href="{{ $photo->url() }}">{{ $photo->name }}</a></h4>
|
<h4 class="card-title"><a href="{{ $photo->url() }}">{{ $photo->name }}</a></h4>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user