=> { reloadPageContent(); }, 1000);
        operationStatusCheck()
      });
    }

    function addItem(){
      console.log("Info: downloading image");
      data = $('#addForm').serialize();
      $.post("{{ url_for('api') }}/images/add_image?id="+serverId+"&project="+project, data, function (data) {
        console.log(data);
        if (data.error_code >= 400){
          alert(data.error);
        }
        //Async type
        setTimeout(() => { reloadPageContent(); }, 2000);
        operationStatusCh