Commit 4efba2560761e46cd857a3aed8582e522368b783
1 parent
d848b14e
- gallery
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
frontend/views/gallery/index.php
@@ -24,7 +24,7 @@ | @@ -24,7 +24,7 @@ | ||
24 | )[ 0 ] ?>x<?= getimagesize($gallery->image->getPath() | 24 | )[ 0 ] ?>x<?= getimagesize($gallery->image->getPath() |
25 | )[ 1 ] ?>"> | 25 | )[ 1 ] ?>"> |
26 | <img src="<?= ImageHelper::set($gallery->image->getPath()) | 26 | <img src="<?= ImageHelper::set($gallery->image->getPath()) |
27 | - ->fillResize(360, 216) | 27 | + ->cropResize(360, 216) |
28 | ->quality(82) | 28 | ->quality(82) |
29 | ->render( | 29 | ->render( |
30 | ) ?>" itemprop="thumbnail" alt="<?=$gallery->title?>"/> | 30 | ) ?>" itemprop="thumbnail" alt="<?=$gallery->title?>"/> |