fix: align stage preland picker and demo layout
deploy-preland / deploy barbariskatest (push) Skipped
deploy-preland / deploy zoomstage.online (push) Successful in 19s
deploy-preland / deploy zoompixel.online (push) Skipped
deploy-preland / deploy zoompixel.ru (push) Skipped

This commit is contained in:
Panfilov Konstantin committed 2026-10-17 07:39:37 +03:00
1 parent 4fa9eebcfb
commit 45e20ed0cd
128 files changed
+196 -13

No files matched your search

+3 -2
View File
@@ -1,7 +1,8 @@
<?php
$demoBasePath = rtrim($assetsUriPrefix, '/') . "/images/demo/{$indpic}";
$demoLocalPath = __DIR__ . "/../images/demo/{$indpic}";
$demoDirName = 'demo' . ($indpic === '1' ? '' : '-' . $indpic);
$demoBasePath = rtrim($assetsUriPrefix, '/') . "/images/{$demoDirName}";
$demoLocalPath = __DIR__ . "/../images/{$demoDirName}";
$getAssetUrl = function (string $relativePath) use ($demoBasePath, $demoLocalPath): string {
$fullPath = $demoLocalPath . '/' . ltrim($relativePath, '/');
+1 -1
View File
@@ -7,7 +7,7 @@ $createApiUrl = ($apiHost ?? '') . '/api/images/public/create';
$uploadPolicyApiUrl = ($apiHost ?? '') . '/api/images/public/upload-policy';
$redirectUrlBase = $redirect_url_base ?? '';
$redirectUrlUtm = $redirect_url_utm ?? '';
$basePickerAccept = 'image/jpeg,image/png,image/gif,image/webp,image/bmp,image/avif,image/heic,image/heif,image/jxl,image/tiff,.jpg,.jpeg,.png,.gif,.webp,.bmp,.avif,.heic,.heif,.jxl,.tif,.tiff,.dng';
$basePickerAccept = 'image/jpeg,image/png,image/gif,image/webp,image/bmp,image/avif,image/heic,image/heif,image/jxl,image/tiff,application/pdf,.pdf,.jpg,.jpeg,.png,.gif,.webp,.bmp,.avif,.heic,.heif,.jxl,.tif,.tiff,.dng';
?>