AdamMoses-GitHub / MMM-ImageSlideshow

Displays images one-at-a-time from local folders.
MIT License
43 stars 24 forks source link

MMM-ImageSlideshow not all images are loaded #28

Open benzoto opened 2 years ago

benzoto commented 2 years ago

Good Day all 🙂 ,

Does anyone having issues with the MMM-ImageSlideshow showing images from NW drive. I have MM setup on a Raspberry PI3 and the following MMM-ImageSlideshow module configuration.

        {
        module: 'MMM-ImageSlideshow',
        position: 'bottom_center',
        config: {
        delayUntilRestart: 6000,
        randomizeImageOrder: true,
        imagePaths: ['modules/MMM-ImageSlideshow/exampleImages/shared_media'],
        treatAllPathsAsOne: true,
        fixedImageWidth: 600,
        fixedImageHeight: 800,
        slideshowSpeed: 60000
                }
        },

The issue that I have is that the Module does not load all images within this sharedmedia folder. When I check the Browser Console the error is 404 and it is not finding the image even though it is there. I can also see that it is adding an ‘’ infront of some images hence not finding them in the folder and not sure how this can be fixed.

Console error:

GET http://192.168.1.98:8080/modules/MMM-ImageSlideshow/exampleImages/shared_media/.__f1726418696.jpg Status 404 Not Found VersionHTTP/1.1 Transferred701 B (211 B size) Referrer Policyno-referrerg

Thank you in advance,

OneOfTheInfiniteMonkeys commented 2 years ago

Hi, compliments of the season. Just a fellow user on what's a quiet part of Github..

I saw in this thread a comment on 'local' folders https://github.com/AdamMoses-GitHub/MMM-ImageSlideshow/issues/1

The comment made was: " the code DEPENDS on the path being part of the MM folder tree.."

benzoto commented 1 year ago

Hey, Thank you for the feedback, but the Shared folder is within the MMM module folder tree and it is still not showing all images. This is quite frustrating problem :)

OneOfTheInfiniteMonkeys commented 1 year ago

Hi, did you catch the point that there is a limit on the number of images that can be displayed ~ 2000? see #6 From what I recall its as the code reads in the directory listing and allocates memory space. I have not had the opportunity to dig further into the specifics.

benzoto commented 1 year ago

Hi again, yes I saw that but i have separated all my photos in subfolders with 100 items and it is still not showing all of those ....