MMM-ImageSlideshow icon indicating copy to clipboard operation
MMM-ImageSlideshow copied to clipboard

Doesn't work with paths outside the module folder

Open luebbe opened this issue 6 years ago • 4 comments

if you add a path to the config which is outside the modules folder, like '/home/pi/images', the images aren't found. If you create a link from e.g. 'MMM-ImageSlideshow/linkedimages' to '/home/pi/images' and add 'linkedimages' to the config, it works as expected. This workaround shouldn't be necessary.

luebbe avatar Apr 28 '19 11:04 luebbe

Well i tried linking the folder 'images' from the module folder(MMM-ImageSlideshow) to a folder in a usb drive, it did not work. Is it even possible? does it have to be a symbolic link or hard link? i used the following command to create a link, ln -s /media/Pi/Piusb /home/pi/MagicMirror/modules/MMM-ImageSlideshow/linkedImages Here Piusb is the usb drive. When i click on the linked folder which is created in the module folder it displays the images from the usb folder but when i run the module it is not able to fetch the images to display.

Ragziesoft avatar Mar 21 '20 14:03 Ragziesoft

When you're in console /home/pi/MagicMirror, create link: ln -s /media/yourMountedDrive modules/MMM-ImageSlideshow/2019-04-10

In /home/pi/MagicMirror/config/config.js configure access to the link:

{
                        module: "MMM-ImageSlideshow",
                        position: "top_center",
                        config:{
                                fixedImageWidth: 500,
                                imagePaths: ['modules/MMM-ImageSlideshow/2019-04-10'],
                        }
},

But I do not know how to link subdirectories.

alesku avatar Apr 14 '20 23:04 alesku

Novice/newbie. Started MM - as a 'photoframe" gift for a friend. I am stuck ; where photos won't load from USB drive and those copied and pasted on the module folder(exampleImages) are rotated 90deg.. Tried above solon-- but only linkedfolder appears -- images not loaded. Any tutorials on this? Also any tutorials on outdoor cameras and modules for WiFi pictures/videos on MM?

ksheer2922 avatar Nov 25 '20 16:11 ksheer2922

Hi! On my side i'm stuck, it seems that it's not finding the folder. The dev tool tells me that it adds "localhose:8000" before the path. is it the problem? how can i delete this part?

THanks in advance!

benoitv80 avatar Aug 19 '22 10:08 benoitv80