document.addEventListener("DOMContentLoaded", function() { var imageEditor = new tui.ImageEditor('#tui-image-editor', { includeUI: { loadImage: { path: 'http://maratonadesantiago.com.br/wp-content/uploads/2023/12/Vista-aerea-Vina-del-Mar-Chile.webp', name: 'Vista-aerea-Vina-del-Mar-Chile' }, theme: {}, initMenu: 'filter', menuBarPosition: 'bottom' }, cssMaxWidth: 700, cssMaxHeight: 500, selectionStyle: { cornerSize: 20, rotatingPointOffset: 70 } }); });