pixabay images are disappearing

I am trying to fetch images from pixabay and show in blog.But images are disappearing after few days. My Code is like below.

function imageSelect_blog(evt) {
            const imageURL = event.target.getAttribute('src');           
            $('#showuploadedimage').attr('src', imageURL);

            var xhttp = new XMLHttpRequest();   
            var url = "/admin/upload_pixabay_image.php";
            var data = { url : imageURL, id: "<?php echo $_GET['id']; ?>" };
            var params = JSON.stringify(data);

            xhttp.open("POST", url, true);
            xhttp.setRequestHeader("Content-type", "application/json");

            xhttp.send(params);
            bootstrapModal.hide();
          }
          
          
          const pixModalBtn = document.getElementById('pixModalBtn');
          const pixabayModal = document.getElementById('pixabayModal');
          const API_KEY = 'api_key';

          var bootstrapModal = new bootstrap.Modal(pixabayModal);

          pixModalBtn.addEventListener('click', function() {
            var modal = document.querySelector('.modal-body');
            modal.innerHTML = `<label class="control-label" for="pixabayinput">Search images in Pixabay</label>
              <div class="col-sm-8">
                <input type="text" class="form-control" id="pixabayinput">
              </div>
              <div class="col-sm-12" id="pixaresult"></div>`;
              
            var closeButton = pixabayModal.querySelector('.close'); 
            var bootstrapModal = bootstrap.Modal.getInstance(pixabayModal);

            closeButton.addEventListener( 'click', function () {
              bootstrapModal.hide(); 
            });

            $(pixabayModal).on('show.bs.modal', function() {
              var pixabayinput = document.getElementById( 'pixabayinput' );

              pixabayinput.oninput = function() {
                // var textBox = this.getInputElement();
                var value = pixabayinput.value;
                  if( value !== "") {
                    var URL = "https://pixabay.com/api/?key="+API_KEY+"&q="+encodeURIComponent(value);

                      var currentPage = 1;
                      var perPage = 20;
                      var totalPages = 0;
                      var totalHits = 0;

                      function showImages(data) {
                        if (parseInt(data.totalHits) > 0) {
                          totalHits = parseInt(data.totalHits);
                          totalPages = Math.ceil(totalHits / perPage);
                          var images = "";

                          $.each(data.hits, function (i, hit) {
                            images += "<img class='pix_image' src='" + hit.webformatURL + "' alt='" + hit.tags + "' width='50' height='60'>";
                          });

                          document.getElementById("pixaresult").innerHTML = "";

                          document.getElementById("pixaresult").innerHTML += "<div id='container'>"+ images +"</div>";

                          // attach click event listener to parent element
                          document.getElementById("container").addEventListener("click", function (event) {
                              // check if target element is an img with the upload_image class
                              if (event.target && event.target.matches("img.pix_image")) {
                                  imageSelect_blog(event);
                              }
                          });

                          // show pagination buttons
                          var pagination = "<div id='pagination'>";
                          pagination += "<button id='prevBtn'>Prev</button>";
                          pagination += "<button id='nextBtn1'>Next</button>";
                          pagination += "</div>";
                          document.getElementById("container").innerHTML += pagination;

                          // add event listeners to pagination buttons
                          var prevBtn = document.getElementById('prevBtn');
                          var nextBtn1 = document.getElementById('nextBtn1');

                          prevBtn.addEventListener('click', function () {
                            currentPage--;
                            getImages(currentPage);
                            nextBtn1.disabled = false;
                          });

                          if (currentPage === 1) {
                            prevBtn.disabled = true;
                          }

                          nextBtn1.addEventListener('click', function () {
                            currentPage++;
                            getImages(currentPage);
                            prevBtn.disabled = false;
                          });

                          if (currentPage === totalPages) {
                            nextBtn1.disabled = true;
                          }
                        } else {
                          document.getElementById("pixaresult").innerHTML = "No hits";
                        }
                      }


                      function getImages(page) {
                        var pageURL = URL + "&page=" + page + "&per_page=" + perPage;
                        $.getJSON(pageURL, function (data) {
                          showImages(data);
                        });
                      }

                      // show loading icon
                      document.getElementById("pixaresult").innerHTML = '<img src="./assets/img/loading_icon.gif">';

                      // fetch first page of images
                      getImages(currentPage);

                  }
                  else {
                    document.getElementById("pixaresult").innerHTML = "";
                    document.getElementById("pixaresult").innerHTML += '<img src="./assets/img/loading_icon.gif">';
                  }
              }



              var URL = "https://pixabay.com/api/?key="+API_KEY+"&q="+encodeURIComponent('red roses');
              document.getElementById("pixaresult").innerHTML = '<img src="./assets/img/loading_icon.gif">';
              $.getJSON(URL, function(data){
                if (parseInt(data.totalHits) > 0) {
                  $.each(data.hits, function (i, hit) {
                    if(i === 0) {
                      document.getElementById("pixaresult").innerHTML = "";
                      document.getElementById("pixaresult").innerHTML += "<div id='container'></div>";
                    }
                    document.getElementById("container").innerHTML += "<img class='pix_image' src='" + hit.webformatURL + "' alt='" + hit.tags + "' width='50' height='60'>";
                  });
                } else {
                  console.log('No hits');
                }
              });
            });

            bootstrapModal.show();
          });

        
        
          function imageSelect(evt) {
            var img = evt.target;
            var editor = CKEDITOR.dialog.getCurrent().getParentEditor();
            const imageURL = evt.target.getAttribute('src'); 
            var xhttp = new XMLHttpRequest();   
            var url = "/admin/upload_pixabay_image.php";
            var data = { url : imageURL };
            var params = JSON.stringify(data);

            xhttp.open("POST", url, true);
            xhttp.setRequestHeader("Content-type", "application/json");
            xhttp.send(params);

            xhttp.onreadystatechange = function() {
              if (xhttp.readyState === 4 && xhttp.status === 200) {
                var response = xhttp.responseText;
                var imgHtml = '<img src="' + 'https://speak5.com/admin/'+ response + '" alt="' + img.alt + '">';
                editor.insertHtml(imgHtml);
                CKEDITOR.dialog.getCurrent().hide();
              }
            };
          }

          CKEDITOR.on( 'dialogDefinition', function( ev )
          {
              // Take the dialog name and its definition from the event data.
              var dialogName = ev.data.name;
              var dialogDefinition = ev.data.definition;

              // Check if the definition is from the dialog we're
              // interested on (the "Link" dialog).

              if ( dialogName == 'image' )
              {
                
                dialogDefinition.dialog.resize( 700, 500 );
                // Add a new tab to the "Link" dialog.
                var API_KEY = 'api_key';
                var URL = "https://pixabay.com/api/?key="+API_KEY+"&q="+encodeURIComponent('red roses');
                

                $.getJSON(URL, function(data){
                if (parseInt(data.totalHits) > 0) {
                  $.each(data.hits, function (i, hit) {  
                    if(i === 0) {
                      document.getElementById("pixa_image_p").innerHTML = "";
                      document.getElementById("pixa_image_p").innerHTML += "<div id='container'></div>";
                    }                    
                    document.getElementById("container").innerHTML += "<img class='pix_image' src='" + hit.webformatURL + "' alt='" + hit.tags + "' width='50' height='60'>";
                  });
                  
                }
                else {
                  console.log('No hits');
                }});                

                dialogDefinition.addContents({
                  id : 'pixabayTab',
                  label : 'Pixabay',
                  elements : [
                    {
                      type: 'text',
                      id: 'pixabayField',
                      label: 'Search images in Pixabay',   
                      onInput: function() {
                        var textBox = this.getInputElement();
                        var value = textBox.getValue();
                          if( value !== "") {
                            var URL = "https://pixabay.com/api/?key="+API_KEY+"&q="+encodeURIComponent(value);  

                              var currentPage = 1;
                              var perPage = 20;
                              var totalPages = 0;
                              var totalHits = 0;

                              function showImages(data) {
                                if (parseInt(data.totalHits) > 0) {
                                  totalHits = parseInt(data.totalHits);
                                  totalPages = Math.ceil(totalHits / perPage);
                                  var images = "";

                                  $.each(data.hits, function (i, hit) {
                                    images += "<img class='pix_image' src='" + hit.webformatURL + "' alt='" + hit.tags + "' width='50' height='60'>";
                                  });

                                  document.getElementById("pixa_image_p").innerHTML = "";                                  

                                  document.getElementById("pixa_image_p").innerHTML += "<div id='container'>"+ images +"</div>";
                                  
                                  // attach click event listener to parent element
                                  document.getElementById("container").addEventListener("click", function (event) {
                                      // check if target element is an img with the upload_image class
                                      if (event.target && event.target.matches("img.pix_image")) {
                                          imageSelect(event);
                                      }
                                  });

                                  // show pagination buttons
                                  var pagination = "<div id='pagination'>";
                                  pagination += "<button id='prevBtn'>Prev</button>";
                                  pagination += "<button id='nextBtn1'>Next</button>";
                                  pagination += "</div>";
                                  document.getElementById("container").innerHTML += pagination;

                                  // add event listeners to pagination buttons
                                  var prevBtn = document.getElementById('prevBtn');
                                  var nextBtn1 = document.getElementById('nextBtn1');
                                  
                                  prevBtn.addEventListener('click', function () {
                                    currentPage--;
                                    getImages(currentPage);                                    
                                    nextBtn1.disabled = false;
                                  });

                                  if (currentPage === 1) {
                                    prevBtn.disabled = true;
                                  }

                                  nextBtn1.addEventListener('click', function () {
                                    currentPage++;
                                    getImages(currentPage);
                                    prevBtn.disabled = false;
                                  });
                                  
                                  if (currentPage === totalPages) {
                                    nextBtn1.disabled = true;                                      
                                  }
                                } else {
                                  document.getElementById("container").innerHTML = "No hits";
                                }
                              }
                              

                              function getImages(page) {
                                var pageURL = URL + "&page=" + page + "&per_page=" + perPage;
                                $.getJSON(pageURL, function (data) {
                                  showImages(data);
                                });
                              }

                              // show loading icon
                              document.getElementById("pixa_image_p").innerHTML = '<img src="./assets/img/loading_icon.gif">';

                              // fetch first page of images
                              getImages(currentPage);                  

                          }
                          else {
                            document.getElementById("pixa_image_p").innerHTML = "";
                            document.getElementById("pixa_image_p").innerHTML += '<img src="./assets/img/loading_icon.gif">';
                          }
                      } 
                    },
                    {
                      type: 'html',
                      id: 'pixa_html',
                      html: '<div id="pixa_image_p"><img src="./assets/img/loading_icon.gif"></div>',
                    }
                  ]
                });
              }
          });

Why images from pixabay are disappearing ?

Am I doing any wrong ?

How to fetch images from pixabay and show in blog posts ?

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật