fix: move `build directory to resources/shop`

This commit is contained in:
Valentin Lab
2025-10-04 10:00:24 +02:00
parent 34fc1c33bf
commit 7a189abf0b
93 changed files with 26 additions and 25 deletions

View File

@@ -0,0 +1,21 @@
function initFileInputImage(images, uploadRoute)
{
$(".file").fileinput({
uploadUrl: "/file-upload-batch/2",
allowedFileExtensions: ['jpg', 'png', 'gif'],
overwriteInitial: true,
showRemove: true,
frameClass: '',
initialPreviewAsData: false,
maxFileSize: 10000,
removeFromPreviewOnError: true,
initialPreview: images,
layoutTemplates: {
footer: ''
},
previewTemplates: {
image: '<img src="{data}" class="kv-preview-data file-preview-image img-fluid" title="{caption}" alt="{caption}" {style}>\n',
}
});
}