0": "180°"
        }
        for (const opt_key in options) {
            var option = document.createElement("option");
            option.value = opt_key;
            if (item.rotate !== undefined && item.rotate == opt_key) {
                option.selected = "selected";
            }
            const text = document.createTextNode(options[opt_key]);
            option.appendChild(text);
            select.appendChild(option);
        }
        const filename_text = document.createTextNode(item.filename