PhotoMosaic: allow sets of three portraits.

This commit is contained in:
Aaron committed 2017-11-09 17:00:34 +01:00
1 parent df7655e00b
commit 7240201a3e
2 files changed
+24

No files matched your search

+4
View File
@@ -115,6 +115,10 @@ class PhotoMosaic
// Sort photos by priority and date captured.
usort($photos, 'self::orderPhotos');
// Three portraits?
if ($num_portrait === 3)
return [$photos, 'portraits'];
// At least one portrait?
if ($num_portrait >= 1)
{