de state for image eye
  let imgCurrentlyBlurred = false;
  let toggleStates = [];

  // main image, global variable
  let image = null;


  // gets the function to activate the modal with the img
  const getActivateModalFunc = function(image) {
    return function() {
      modal.style.display = "block";
      modalImg.src = image.src;
    }
  }

  // sets the image to be blurred
  const setImgBlur = function(init=false) {
    logger.debug("Setting image blur...", 2)

    dhImgContainer.classList.toggle(im