WIP
This commit is contained in:
@@ -68,6 +68,28 @@
|
||||
load();
|
||||
},
|
||||
},
|
||||
imageResizeTargetWidth: 600,
|
||||
imageCropAspectRatio: 1,
|
||||
imageTransformVariants: {
|
||||
thumb_medium_: (transforms) => {
|
||||
transforms.resize = {
|
||||
size: {
|
||||
width: 384,
|
||||
height: 384,
|
||||
},
|
||||
};
|
||||
return transforms;
|
||||
},
|
||||
thumb_small_: (transforms) => {
|
||||
transforms.resize = {
|
||||
size: {
|
||||
width: 128,
|
||||
height: 128,
|
||||
},
|
||||
};
|
||||
return transforms;
|
||||
},
|
||||
},
|
||||
allowImagePreview: {{ $preview ? 'true' : 'false' }},
|
||||
styleItemPanelAspectRatio: '0.5625',
|
||||
allowFileTypeValidation: {{ $validate ? 'true' : 'false' }},
|
||||
|
||||
Reference in New Issue
Block a user