jQuery

Kendo jQuery Edit Imagebrowers

whylite 2023. 1. 18. 13:22
imageBrowser: {
    messages: {
        dropFilesHere: "Drop files here"
    },
    transport: {
        read: "{% url 'borders:iread_json' %}",
        destroy: {
            url: "{% url 'borders:iupload_json' %}",
            type: "POST"
        },
        create: {
            url: "{% url 'borders:iupload_json' %}",
            type: "POST"
        },
        thumbnailUrl: function (path, file) {
            return path + "/static/ImageBrowser/" + file
        },
        uploadUrl: "{% static 'ImageBrowser' %}",
        imageUrl: "{% static 'ImageBrowser' %}/{0}",
    }
},