const displayPreviewImage = (imageUrl) => {
$('#slideshow-container').css("background-image", `url('files/images/store/content/templates/websites/preview_images/${imageUrl}'`);
}
I have a function here that sets the preview image based on the provided image link. It's functioning correctly in Firefox and Internet Explorer. Can anyone assist me with what I might be overlooking? I've attempted using backgroundImage
instead, as well as removing quotes from within the URL line...