Revert "Glob portraits for small 4x4 tiles as well."

This reverts commit 0d1fce41c8.

This prevents portrait photos from being assigned a cropped landscape
slot in the mosaic, at the cost of the ordering being less
chronological.
This commit is contained in:
Bart Schuurmans 2023-11-16 17:37:51 +01:00
parent 202e263ea7
commit cc5c10e185
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ class PhotoMosaic
if ($num_portrait >= 1)
{
// Grab two more landscapes, so we can put a total of four tiles on the side.
for ($i = 0; $image && $i < 2 && ($image = $this->fetchImage(Image::TYPE_LANDSCAPE | Image::TYPE_PORTRAIT, $image)); $i++)
for ($i = 0; $image && $i < 2 && ($image = $this->fetchImage(Image::TYPE_LANDSCAPE, $image)); $i++)
$photos[] = $image;
// We prefer to have the portrait on the side, so prepare to process that first.