inY}&x2=${maxX}&y2=${maxY}`
        return '/cropViaSrc/'+item.filename+`?x=${item.all_points_x.join(',')}&y=${item.all_points_y.join(',')}`
    }

    function reshape(arr, idx=0) {
        if (idx == 0) {
            return arr;
        }
        let arr_right = arr.slice(0,idx),
        arr_left = arr.slice(idx);
        return arr_left.concat(arr_right);
    }

    function refresh_preview_images(object, item) {
        const
            src_value = item.rotate || "0",
            value = object.value,
