sResult = "right";
    } else if (posOpt === "bottom") { // lower priority on posOpt
      posResult = "bottom";
    } else if (posOpt === "right") {
      posResult = "right";
    } else if (posOpt === "auto") {
      posResult = "auto";
    } else {
      logger.warn(`Invalid option value for 'primary-definition-picture-position': ${posOpt}. Defaulting to auto.`);
      posResult = "auto";
    }

    return posResult;

  }


  function editDisplayImage() {
    // edits the display image width/height
    /