<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[MMM-ImagesPhotos - Show images from a directory]]></title><description><![CDATA[<h1>Description:</h1>
<p dir="auto">I had the idea to checking process development of a module and I created one to show images from a directory.</p>
<p dir="auto">This module has a lot development stuff’s in files that I think  should have  a module. Is  missing integration of test suite.</p>
<p dir="auto">If you have any request to add it please let a message here or add an issue in Github.</p>
<h1>Screenshot:</h1>
<p dir="auto"><img src="https://raw.githubusercontent.com/roramirez/MMM-ImagesPhotos/master/.github/animate.gif" alt="alt text" class=" img-fluid img-markdown" /></p>
<h1>Download:</h1>
<h2>[card:roramirez/MMM-ImagesPhotos]</h2>
<h2>Version 0.1.1</h2>
<ul>
<li>Update and fix  README documentation</li>
</ul>
<h2>Version 0.1.0</h2>
<ul>
<li>Initial release</li>
</ul>
]]></description><link>https://forum.magicmirror.builders/topic/1665/mmm-imagesphotos-show-images-from-a-directory</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Jul 2026 17:52:45 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/1665.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 05 Feb 2017 19:54:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MMM-ImagesPhotos - Show images from a directory on Thu, 31 Dec 2020 19:18:17 GMT]]></title><description><![CDATA[<p dir="auto">🙈 ok, i will try it</p>
]]></description><link>https://forum.magicmirror.builders/post/86428</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/86428</guid><dc:creator><![CDATA[KamiSchami]]></dc:creator><pubDate>Thu, 31 Dec 2020 19:18:17 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-ImagesPhotos - Show images from a directory on Thu, 31 Dec 2020 19:15:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kamischami" aria-label="Profile: KamiSchami">@<bdi>KamiSchami</bdi></a> rename the old folder, then git clone again from my repo, fixup any config parts, make link, or move link from old folder</p>
]]></description><link>https://forum.magicmirror.builders/post/86427</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/86427</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 31 Dec 2020 19:15:54 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-ImagesPhotos - Show images from a directory on Thu, 31 Dec 2020 19:09:52 GMT]]></title><description><![CDATA[<p dir="auto">ok, it has the same name.  can I rename the module for myself, the folder?</p>
]]></description><link>https://forum.magicmirror.builders/post/86425</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/86425</guid><dc:creator><![CDATA[KamiSchami]]></dc:creator><pubDate>Thu, 31 Dec 2020 19:09:52 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-ImagesPhotos - Show images from a directory on Thu, 31 Dec 2020 17:00:06 GMT]]></title><description><![CDATA[<p dir="auto">u can try mine too<br />
<a href="https://github.com/sdetweil/MMM-ImagesPhotos" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/MMM-ImagesPhotos</a></p>
<p dir="auto">to make images from a server the module/uploads folder needs to be replaced by a linked (ln command) to the server share folder</p>
<p dir="auto">ln -s server_share uploads</p>
<p dir="auto">I am very picky about how my images are displayed, no distortion allowed…<br />
I also support color or blurred image fill where the image does not cover the full screen</p>
]]></description><link>https://forum.magicmirror.builders/post/86424</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/86424</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 31 Dec 2020 17:00:06 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-ImagesPhotos - Show images from a directory on Thu, 31 Dec 2020 16:55:04 GMT]]></title><description><![CDATA[<p dir="auto">I would like to install it twice.  If I just copy the folder and rename it, it won’t work anymore.  Can somebody help me?</p>
]]></description><link>https://forum.magicmirror.builders/post/86423</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/86423</guid><dc:creator><![CDATA[KamiSchami]]></dc:creator><pubDate>Thu, 31 Dec 2020 16:55:04 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-ImagesPhotos - Show images from a directory on Wed, 23 Oct 2019 13:54:06 GMT]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I found this module : <a href="https://github.com/AdamMoses-GitHub/MMM-ImageSlideshow" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/AdamMoses-GitHub/MMM-ImageSlideshow</a></p>
<p dir="auto">Maybe a solution. I m going to test this night</p>
]]></description><link>https://forum.magicmirror.builders/post/63165</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/63165</guid><dc:creator><![CDATA[chassain 0]]></dc:creator><pubDate>Wed, 23 Oct 2019 13:54:06 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-ImagesPhotos - Show images from a directory on Wed, 23 Oct 2019 12:12:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/broberg" aria-label="Profile: broberg">@<bdi>broberg</bdi></a> no. it needs more… need to USE the this.lastPhotoIndex, and check for over the end of the list,<br />
and reset the index when new list is loaded (even tho you didn’t get thru the list, as the module refreshes on a fixed time schedule (not calculated from number of images found)…  I would add another config parm</p>
<p dir="auto">I have a fork of this module already, but have many local changes, so cannot make another.</p>
]]></description><link>https://forum.magicmirror.builders/post/63161</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/63161</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 23 Oct 2019 12:12:07 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-ImagesPhotos - Show images from a directory on Wed, 23 Oct 2019 11:43:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chassain-0" aria-label="Profile: chassain-0">@<bdi>chassain-0</bdi></a></p>
<p dir="auto">I don’t know if this works but</p>
<pre><code>	randomIndex: function(photos) {
		if (photos.length === 1) {
			return 0;
		}

		var generate = function() {
			return Math.floor(Math.random() * photos.length);
		};

		var photoIndex = generate();
		this.lastPhotoIndex = photoIndex;

		return photoIndex;
	},

</code></pre>
<p dir="auto">try to change <code>return Math.floor(Math.random() * photos.length);</code> to <code>return Math.floor(photos.length);</code></p>
<p dir="auto">However it’s Just a guess</p>
]]></description><link>https://forum.magicmirror.builders/post/63158</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/63158</guid><dc:creator><![CDATA[broberg]]></dc:creator><pubDate>Wed, 23 Oct 2019 11:43:51 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-ImagesPhotos - Show images from a directory on Tue, 22 Oct 2019 18:02:43 GMT]]></title><description><![CDATA[<p dir="auto">yes of course…but not so easy for me…i 'm looking for :)</p>
]]></description><link>https://forum.magicmirror.builders/post/63131</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/63131</guid><dc:creator><![CDATA[chassain 0]]></dc:creator><pubDate>Tue, 22 Oct 2019 18:02:43 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-ImagesPhotos - Show images from a directory on Tue, 22 Oct 2019 18:01:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chassain-0" aria-label="Profile: chassain-0">@<bdi>chassain-0</bdi></a> ah, turn off random</p>
]]></description><link>https://forum.magicmirror.builders/post/63130</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/63130</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 22 Oct 2019 18:01:05 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-ImagesPhotos - Show images from a directory on Tue, 22 Oct 2019 17:59:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> sorry…i would say in order</p>
]]></description><link>https://forum.magicmirror.builders/post/63129</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/63129</guid><dc:creator><![CDATA[chassain 0]]></dc:creator><pubDate>Tue, 22 Oct 2019 17:59:36 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-ImagesPhotos - Show images from a directory on Tue, 22 Oct 2019 17:25:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chassain-0" aria-label="Profile: chassain-0">@<bdi>chassain-0</bdi></a> ImagesPhotos already does random all the time.</p>
<pre><code>	randomPhoto: function() {
		var photos = this.photos;
		var index = this.randomIndex(photos);

		return photos[index];
	},


	getDom: function() {
		var self = this;
		var wrapper = document.createElement("div");
		var photoImage = this.randomPhoto();
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/63127</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/63127</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 22 Oct 2019 17:25:04 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-ImagesPhotos - Show images from a directory on Tue, 22 Oct 2019 17:20:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/galang" aria-label="Profile: Galang">@<bdi>Galang</bdi></a> Hello, no news about no random ? it will be great for my configuration<br />
Thanks</p>
]]></description><link>https://forum.magicmirror.builders/post/63126</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/63126</guid><dc:creator><![CDATA[chassain 0]]></dc:creator><pubDate>Tue, 22 Oct 2019 17:20:35 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-ImagesPhotos - Show images from a directory on Tue, 05 Jun 2018 14:37:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ninjabreadman" aria-label="Profile: ninjabreadman">@<bdi>ninjabreadman</bdi></a> exiftran worked wonderfully!  I used the “automatic” option and it fixed them all!  Thanks!</p>
]]></description><link>https://forum.magicmirror.builders/post/40213</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/40213</guid><dc:creator><![CDATA[twosquirrels]]></dc:creator><pubDate>Tue, 05 Jun 2018 14:37:47 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-ImagesPhotos - Show images from a directory on Mon, 04 Jun 2018 20:51:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/twosquirrels" aria-label="Profile: twosquirrels">@<bdi>twosquirrels</bdi></a> So, I suspect (but cannot be certain) that <a href="https://www.howtogeek.com/254830/why-your-photos-dont-always-appear-correctly-rotated/" target="_blank" rel="noopener noreferrer nofollow ugc">this is your problem</a>. I’ve not found great browser support for EXIF image rotation. There are <a href="https://superuser.com/questions/36645/how-to-rotate-images-automatically-based-on-exif-data" target="_blank" rel="noopener noreferrer nofollow ugc">a variety of command line approaches</a> available, and even some GUI apps.</p>
]]></description><link>https://forum.magicmirror.builders/post/40196</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/40196</guid><dc:creator><![CDATA[ninjabreadman]]></dc:creator><pubDate>Mon, 04 Jun 2018 20:51:39 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-ImagesPhotos - Show images from a directory on Mon, 04 Jun 2018 16:47:29 GMT]]></title><description><![CDATA[<p dir="auto">I realize this might not be the fault of the module, but many of my images display with the orientation incorrect on this module.  I open them on my Mac, and the orientation is correct.  I open them in the built-in image viewer on the raspberry pi, and the orientation is correct.</p>
<p dir="auto">I’ve tried using exiftool to remove the orientation settings entirely with no success.  I also tried using exiftool to change the orientation with no success.</p>
<p dir="auto">My magic mirror is in portrait mode, so I wonder if that matters, but the built-in viewer has no problems.</p>
]]></description><link>https://forum.magicmirror.builders/post/40190</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/40190</guid><dc:creator><![CDATA[twosquirrels]]></dc:creator><pubDate>Mon, 04 Jun 2018 16:47:29 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-ImagesPhotos - Show images from a directory on Fri, 02 Feb 2018 12:11:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pepebc" aria-label="Profile: pepebc">@<bdi>pepebc</bdi></a></p>
<p dir="auto">Take a look at the <a href="https://github.com/mykle1/Hello-Lucy" target="_blank" rel="noopener noreferrer nofollow ugc">Hello-Lucy</a> files. You can adapt what you find there to alex yak voice control. :-)</p>
]]></description><link>https://forum.magicmirror.builders/post/35105</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/35105</guid><dc:creator><![CDATA[Mykle1]]></dc:creator><pubDate>Fri, 02 Feb 2018 12:11:02 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-ImagesPhotos - Show images from a directory on Fri, 02 Feb 2018 11:26:45 GMT]]></title><description><![CDATA[<p dir="auto">I like this module, but I would like it to start hidden by default in order to add the possibility of making it visible with voice command (use alexyak / voicecontrol). I have tried several options but I have no results.</p>
]]></description><link>https://forum.magicmirror.builders/post/35102</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/35102</guid><dc:creator><![CDATA[pepebc]]></dc:creator><pubDate>Fri, 02 Feb 2018 11:26:45 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-ImagesPhotos - Show images from a directory on Sun, 28 Jan 2018 22:45:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peter" aria-label="Profile: Peter">@<bdi>Peter</bdi></a> At least it’s fixed! Cheers.</p>
]]></description><link>https://forum.magicmirror.builders/post/34846</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/34846</guid><dc:creator><![CDATA[ninjabreadman]]></dc:creator><pubDate>Sun, 28 Jan 2018 22:45:01 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-ImagesPhotos - Show images from a directory on Sun, 28 Jan 2018 22:33:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ninjabreadman" aria-label="Profile: ninjabreadman">@<bdi>ninjabreadman</bdi></a> solved.<br />
I did something stupid.<br />
I had 70 pictures (5mb each) and it caused trouble, so I resized them to 100kb.<br />
But I also have 2 sd cards …<br />
I put 2000 pictures (100kb) on one card and left the 70 (5mb) pictures on the other card.<br />
And then I changed cards …<br />
Peter</p>
]]></description><link>https://forum.magicmirror.builders/post/34841</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/34841</guid><dc:creator><![CDATA[Peter]]></dc:creator><pubDate>Sun, 28 Jan 2018 22:33:56 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-ImagesPhotos - Show images from a directory on Sun, 28 Jan 2018 16:03:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peter" aria-label="Profile: Peter">@<bdi>Peter</bdi></a></p>
<p dir="auto">What does your config look like? Where are your images? What type(s) are they? I tried making a folder with 100 files (well over 50), but that seemed to work fine.</p>
<p dir="auto">Do you have the photos in multiple folders/paths? If so, have you tried removing the path of the photos that work to leave the other paths (to determine they work)? Have you tried adding <code>treatAllPathsAsOne: true</code> to your module config?</p>
<p dir="auto">What is the content of <code>photos.txt</code> if you type <code>curl http://localhost:8080/MMM-ImagesPhotos/photos &gt; photos.txt</code> into a separate console (while MM is running)?</p>
<p dir="auto">Don’t post it all here, but if there are not several thousand entries, the module is not seeing all of your files (but you knew that).</p>
]]></description><link>https://forum.magicmirror.builders/post/34804</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/34804</guid><dc:creator><![CDATA[ninjabreadman]]></dc:creator><pubDate>Sun, 28 Jan 2018 16:03:55 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-ImagesPhotos - Show images from a directory on Sun, 28 Jan 2018 14:30:14 GMT]]></title><description><![CDATA[<p dir="auto">Very nice module.<br />
I have about 2000 pictures in the Upload directory, all resized to 100 kb.<br />
But the module only shows about 50 of them.<br />
Why does it not show the other pictures?<br />
Any idea?<br />
Peter</p>
]]></description><link>https://forum.magicmirror.builders/post/34797</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/34797</guid><dc:creator><![CDATA[Peter]]></dc:creator><pubDate>Sun, 28 Jan 2018 14:30:14 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-ImagesPhotos - Show images from a directory on Sun, 24 Dec 2017 18:11:40 GMT]]></title><description><![CDATA[<p dir="auto">I’m going to think it accepts all formats…nothing is specified…</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/markus220" aria-label="Profile: markus220">@<bdi>markus220</bdi></a> did you check the developer console to see if there are errors?  Did you use the right dir format?</p>
]]></description><link>https://forum.magicmirror.builders/post/32710</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/32710</guid><dc:creator><![CDATA[cowboysdude]]></dc:creator><pubDate>Sun, 24 Dec 2017 18:11:40 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-ImagesPhotos - Show images from a directory on Sun, 24 Dec 2017 17:20:27 GMT]]></title><description><![CDATA[<p dir="auto">Thanks a bunch for this module. Seems to work great maybe some pics show up more often than others. Curious what formats it accepts?</p>
]]></description><link>https://forum.magicmirror.builders/post/32708</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/32708</guid><dc:creator><![CDATA[dasbooter]]></dc:creator><pubDate>Sun, 24 Dec 2017 17:20:27 GMT</pubDate></item></channel></rss>