@adambd if you look at the MMM_ImagedPhotos and MMM_ImageSlideshow modules, you will see they map a url for the express server running in MM
extraRoutes: function() {
var self = this;
this.expressApp.get("/MMM-ImagesPhotos/photos", function(req, res) {
self.getPhotosImages(req, res);
});
this.expressApp.use("/MMM-ImagesPhotos/photo", express.static(self.path_images));
},
// return photos-images by response in JSON format.
getPhotosImages: function(req, res) {
directoryImages = this.path_images;
var imagesPhotos = this.getImages(this.getFiles(directoryImages)).map(function (img) {
return {url: "/MMM-ImagesPhotos/photo/" + img};
})
res.send(imagesPhotos);
},