resolution upload avatar

This commit is contained in:
2024-02-13 11:57:50 +01:00
parent cda63eddba
commit ecb1d43b38
4 changed files with 13 additions and 16 deletions

View File

@ -102,7 +102,7 @@
resizewidth=$('#largeimg').width();
$('#largeimg').CropSelectJs({
imageSrc: "/{{ appAlias }}/uploads/{{type}}/{{ file }}",
imageSrc: "{{ asset("uploads/"~type~"/"~file) }}",
selectionResize: function(data) { resize(data); },
selectionMove: function(data) { move(data); },
});