We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2dee00 commit 8b8a41cCopy full SHA for 8b8a41c
api/capture.php
@@ -19,6 +19,10 @@
19
throw new \Exception('No style provided');
20
}
21
22
+ if (isset($_POST['collageLimit'])) {
23
+ $config['collage']['limit'] = $_POST['collageLimit'];
24
+ }
25
+
26
if (!empty($_POST['file']) && (preg_match('/^[a-z0-9_]+\.jpg$/', $_POST['file']) || preg_match('/^[a-z0-9_]+\.(mp4)$/', $_POST['file']))) {
27
$file = $_POST['file'];
28
} else {
assets/js/core.js
@@ -562,6 +562,7 @@ const photoBooth = (function () {
562
if (api.photoStyle === PhotoStyle.COLLAGE) {
563
data.file = currentCollageFile;
564
data.collageNumber = api.nextCollageNumber;
565
+ data.collageLimit = api.collageLimit;
566
567
568
if (api.photoStyle === PhotoStyle.CHROMA) {
0 commit comments