function makeImageItem(spxData) {

    let serverUrl = spxData.base;
    let remotePath = spxData.path.replace('//','');
    let imageUrl = serverUrl + '/' + remotePath + '/' + spxData.file;

    console.log('ImageURL', imageUrl);

    let html = ''
    html += '<div id="' + spxData.file + '" class="fileitem" style="background-image: url(\'' + imageUrl + '\')">\n';
    html += '<div id="filename" class="filename">' + spxData.file + '</div>\n';
    html += '</div>\n';
    return html
} // makeImageItem
// This facory is used by source modules to generate DOM objects.
This facory is used by source modules to generate DOM objects.
This facory is used by source modules to generate DOM objects .
function makeImageItem(spxData) {
    let serverUrl = spxData.base;
    let remotePath = spxData.path.replace('//','');
    let imageUrl = serverUrl + '/' + remotePath + '/' + spxData.file;
    console.log('ImageURL', imageUrl);
    let html = ''
    html += '<div id="' + spxData.file + '" class="fileitem" style="background-image: url(\'' + imageUrl + '\')">\n';
    html += '<div id="filename" class="filename">' + spxData.file + '</div>\n';
    html += '</div>\n';
    return html
} 
function makeImageItem ( spxData ) { let serverUrl = spxData . base ; let remotePath = spxData . path . replace ( '//' , '' ) ; let imageUrl = serverUrl + '/' + remotePath + '/' + spxData . file ; console . log ( 'ImageURL' , imageUrl ) ; let html = '' html += '<div id="' + spxData . file + '" class="fileitem" style="background-image: url(\'' + imageUrl + '\')">\n' ; html += '<div id="filename" class="filename">' + spxData . file + '</div>\n' ; html += '</div>\n' ; return html }
This facory is used by source modules to generate DOM objects.
This facory is used by source modules to generate DOM objects .
// makeImageItem