fix: align stage preland picker and demo layout
This commit is contained in:
1 parent
4fa9eebcfb
commit
45e20ed0cd
128 files changed
+196
-13
No files matched your search
@@ -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
@@ -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';
|
||||
|
||||
?>
|
||||
|
||||
|
||||
Reference in new issue
Block a user