some improvements

This commit is contained in:
2025-08-11 21:40:50 +03:00
parent e351803db2
commit 34bcdb062e
12 changed files with 198 additions and 63 deletions
@@ -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>