Read the statement by Michael Teeuw here.
MMM-ImagesPhotos Help Resizing photos
-
@bebetter14 can you show what you are trying ?
general rule.
if the thing to the right of : is
a number 2, 7.5, 98.3456
true/falseno quotes
otherwise requires quotes.
500px, some street, hello -
@sdetweil For example;
Ive used the same example in your Readme however just adding on the width and height.
{ module: "MMM-ImagesPhotos", position: "middle_center", config: { opacity: 0.9, animationSpeed: 500, updateInterval: 5000, backgroundColor: 'grey', fill: false, blur: 10, sequential: false maxWidth: 500, maxHeight: 500, } },
If I remove the width and height, it works no problem. Thank you very much for helping me out!
-
sequential: false <====
when there is another line after, gotta have a trailing comma, saying more follows
-
@sdetweil That was it! Thank you so much. This project has really gotten me interested in learning coding! Looking forward to posting my mirror once it’s finished.
-
@bebetter14 awesome
the error you saw was
unexpected token whatever
that is the first clue to look for a missing comma on the line before