function loadImage(project, iconProject, iconPath) {
            imageLoadedCounter++
            let image = new Image()
            const pathParts = iconPath.replaceAll('\\', '/').split('/')
            image.fileName = pathParts.length === 1 ? pathParts[0] : pathParts[pathParts.length-1]
            
            let from = global.env.PATH_TO_PROJECTS + '/' + iconProject + '/Icons/'
            let to = global.env.PATH_TO_PAGES_DIR + '/' + 'Icons/' + iconProject + '/'
            
            if(pathParts.length > 1) {
                pathParts.splice(pathParts.length-1)
                from = from + pathParts.join('/') + '/'
                to = to +  pathParts.join('/') + '/'
            }
            image.src = to + image.fileName

            if(project === iconProject) {
                copyFile(from, to, image.fileName)
            }

            let key = iconProject + '-' + image.fileName.substring(0, image.fileName.length - 4)
            PROJECT_ICONS.byName.set(key, image)
        }
@param {string} project 
@param {string} iconProject
@param {string} iconPath