Read the statement by Michael Teeuw here.
MMM-ImageSlideshow not loading images
-
Hi
I have a working MagicMirror instance running as a docker container on my NAS; and it shows via the website in kiosk mode.
I wanted to add MMM-ImageSlideshow. I installed it but I can’t make it work.
I’m still using the example config.js as written on the install page of the module.What I do see, in the developer tools; it loads the module.
In the javascript code there is this at the endelse { // if no data loaded yet, empty html wrapper.innerHTML = " EMPTY HTML"; console.log("Where is the error? ",this); }
I do see the words empty html on the page; so no data is loaded. And it stays at this.
I don’t see any other error messages (well, it tries to load custom.css/ and that fails, but that also happens without imageslideshow).’
In the console log I don’t see much relevant when I print the this object. I see the imagepath (to the folder); but at no point do I actually see the paths to the images. Do those get loaded later?Does anyone know what the issue could be?
-
@brtrnd-0 what is your config for the
imagePaths: ['modules/MMM-ImageSlideshow/example1']
that from the doc
Array value containing strings. Each string should be a path to a directory where image files can be found.
-
@sdetweil I have the one from the docs indeed.
{ module: 'MMM-ImageSlideshow', position: 'bottom_center', config: { imagePaths: ['modules/MMM-ImageSlideshow/exampleImages'], } },
or I also tried this to have two elements
{ module: 'MMM-ImageSlideshow', position: 'bottom_center', config: { imagePaths: ['modules/MMM-ImageSlideshow/exampleImages','modules/words/'], } },