some improvements
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<div>
|
||||
<!-- Backdrops -->
|
||||
<h5 class="mb-3">Backdrops</h5>
|
||||
<div class="row mb-4">
|
||||
@foreach($images->where('type', 'backdrops') as $image)
|
||||
<div class="col-md-4 mb-4">
|
||||
<a href="http://image.tmdb.org/t/p/original{{ $image->file_path }}" data-toggle="lightbox">
|
||||
<img src="http://image.tmdb.org/t/p/w500{{ $image->file_path }}" alt="Movie Backdrop" class="img-fluid rounded shadow-sm">
|
||||
</a>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
<!-- Posters -->
|
||||
<h5 class="mb-3">Posters</h5>
|
||||
<div class="row">
|
||||
@foreach($images->where('type', 'posters') as $image)
|
||||
<div class="col-md-3 mb-4">
|
||||
<a href="http://image.tmdb.org/t/p/original{{ $image->file_path }}" data-toggle="lightbox">
|
||||
<img src="http://image.tmdb.org/t/p/w342{{ $image->file_path }}" alt="Movie Poster" class="img-fluid rounded shadow-sm">
|
||||
</a>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user