<?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[Display the specified picture in the specified location]]></title><description><![CDATA[<p dir="auto">I want to display the specified image in the middle of the screen，What should I do</p>
]]></description><link>https://forum.magicmirror.builders/topic/17029/display-the-specified-picture-in-the-specified-location</link><generator>RSS for Node</generator><lastBuildDate>Mon, 11 May 2026 15:30:41 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/17029.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 28 Jul 2022 08:48:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Display the specified picture in the specified location on Sun, 31 Jul 2022 08:41:52 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, there was a mistake in translation. I mean no more questions, thanks again</p>
]]></description><link>https://forum.magicmirror.builders/post/103200</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103200</guid><dc:creator><![CDATA[史新瑞]]></dc:creator><pubDate>Sun, 31 Jul 2022 08:41:52 GMT</pubDate></item><item><title><![CDATA[Reply to Display the specified picture in the specified location on Sat, 30 Jul 2022 11:39:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%E5%8F%B2%E6%96%B0%E7%91%9E" aria-label="Profile: 史新瑞">@<bdi>史新瑞</bdi></a> I do not understand</p>
<p dir="auto">if you did the npm install in the newly cloned module folder  then the request library would be added to the modules library list</p>
]]></description><link>https://forum.magicmirror.builders/post/103185</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103185</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sat, 30 Jul 2022 11:39:16 GMT</pubDate></item><item><title><![CDATA[Reply to Display the specified picture in the specified location on Sat, 30 Jul 2022 06:30:01 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> Thank you very much. I’ve got the problem</p>
<p dir="auto">Thank you again</p>
]]></description><link>https://forum.magicmirror.builders/post/103182</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103182</guid><dc:creator><![CDATA[史新瑞]]></dc:creator><pubDate>Sat, 30 Jul 2022 06:30:01 GMT</pubDate></item><item><title><![CDATA[Reply to Display the specified picture in the specified location on Sat, 30 Jul 2022 03:57:52 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> I did the installation and configuration several times. But yesterday’s mistake has not been resolved</p>
]]></description><link>https://forum.magicmirror.builders/post/103179</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103179</guid><dc:creator><![CDATA[史新瑞]]></dc:creator><pubDate>Sat, 30 Jul 2022 03:57:52 GMT</pubDate></item><item><title><![CDATA[Reply to Display the specified picture in the specified location on Fri, 29 Jul 2022 22:32:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%E5%8F%B2%E6%96%B0%E7%91%9E" aria-label="Profile: 史新瑞">@<bdi>史新瑞</bdi></a> my code always uses the full screen<br />
m is the margin size</p>
<pre><code>var tw = document.body.clientWidth+(parseInt(m)*2);

var th = document.body.clientHeight+(parseInt(m)*2)
</code></pre>
<p dir="auto">but one could get the module position( part of the config Info passed to module) and then get ITS size.<br />
see the window.getComputedStyle(), used on line 221.</p>
]]></description><link>https://forum.magicmirror.builders/post/103170</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103170</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 29 Jul 2022 22:32:49 GMT</pubDate></item><item><title><![CDATA[Reply to Display the specified picture in the specified location on Fri, 29 Jul 2022 14:01: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 forgot. I’ll try again</p>
]]></description><link>https://forum.magicmirror.builders/post/103166</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103166</guid><dc:creator><![CDATA[史新瑞]]></dc:creator><pubDate>Fri, 29 Jul 2022 14:01:36 GMT</pubDate></item><item><title><![CDATA[Reply to Display the specified picture in the specified location on Fri, 29 Jul 2022 14:00:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%E5%8F%B2%E6%96%B0%E7%91%9E" aria-label="Profile: 史新瑞">@<bdi>史新瑞</bdi></a> error… you have to do</p>
<pre><code>npm install 
</code></pre>
<p dir="auto">in the module folder</p>
]]></description><link>https://forum.magicmirror.builders/post/103165</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103165</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 29 Jul 2022 14:00:17 GMT</pubDate></item><item><title><![CDATA[Reply to Display the specified picture in the specified location on Fri, 29 Jul 2022 13:58:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%E5%8F%B2%E6%96%B0%E7%91%9E" aria-label="Profile: 史新瑞">@<bdi>史新瑞</bdi></a> <img src="/assets/uploads/files/1659103067322-cx.png" alt="cx.png" class=" img-fluid img-markdown" /><br />
This is the config.js file</p>
]]></description><link>https://forum.magicmirror.builders/post/103164</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103164</guid><dc:creator><![CDATA[史新瑞]]></dc:creator><pubDate>Fri, 29 Jul 2022 13:58:35 GMT</pubDate></item><item><title><![CDATA[Reply to Display the specified picture in the specified location on Fri, 29 Jul 2022 13:55:47 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> Thank you. I have downloaded your module, but there is an error when I use it. Could you please help me check it? I’m very sorry<img src="/assets/uploads/files/1659102941348-bc.png" alt="bc.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/103163</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103163</guid><dc:creator><![CDATA[史新瑞]]></dc:creator><pubDate>Fri, 29 Jul 2022 13:55:47 GMT</pubDate></item><item><title><![CDATA[Reply to Display the specified picture in the specified location on Fri, 29 Jul 2022 13:49:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%E5%8F%B2%E6%96%B0%E7%91%9E" aria-label="Profile: 史新瑞">@<bdi>史新瑞</bdi></a> my version</p>
<p dir="auto"><a href="https://github.com/sdetweil/MMM-ImagesPhotos" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/MMM-ImagesPhotos</a></p>
]]></description><link>https://forum.magicmirror.builders/post/103162</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103162</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 29 Jul 2022 13:49:07 GMT</pubDate></item><item><title><![CDATA[Reply to Display the specified picture in the specified location on Fri, 29 Jul 2022 13:48:22 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 didn’t find line 247<img src="/assets/uploads/files/1659102499361-247.png" alt="247.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/103161</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103161</guid><dc:creator><![CDATA[史新瑞]]></dc:creator><pubDate>Fri, 29 Jul 2022 13:48:22 GMT</pubDate></item><item><title><![CDATA[Reply to Display the specified picture in the specified location on Fri, 29 Jul 2022 13:39:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%E5%8F%B2%E6%96%B0%E7%91%9E" aria-label="Profile: 史新瑞">@<bdi>史新瑞</bdi></a></p>
<p dir="auto">see the  on-load handler , line 247 of the MMM-ImagesPhotos.js</p>
<pre><code>			img.onload=  (evt) =&gt; {
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/103160</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103160</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 29 Jul 2022 13:39:07 GMT</pubDate></item><item><title><![CDATA[Reply to Display the specified picture in the specified location on Fri, 29 Jul 2022 13:35:10 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> I was wondering how do you set the image position in your CSS program?or automatically read fixed folder pictures and thanks for the instructions</p>
]]></description><link>https://forum.magicmirror.builders/post/103159</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103159</guid><dc:creator><![CDATA[史新瑞]]></dc:creator><pubDate>Fri, 29 Jul 2022 13:35:10 GMT</pubDate></item><item><title><![CDATA[Reply to Display the specified picture in the specified location on Thu, 28 Jul 2022 14:58:00 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> thank you</p>
]]></description><link>https://forum.magicmirror.builders/post/103126</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103126</guid><dc:creator><![CDATA[史新瑞]]></dc:creator><pubDate>Thu, 28 Jul 2022 14:58:00 GMT</pubDate></item><item><title><![CDATA[Reply to Display the specified picture in the specified location on Thu, 28 Jul 2022 16:32:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%E5%8F%B2%E6%96%B0%E7%91%9E" aria-label="Profile: 史新瑞">@<bdi>史新瑞</bdi></a> you can look at my version of  MMM-ImagesPhotos</p>
<p dir="auto"><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">I center the image in the background(fullscreen_below), retaining the image dimension ratio,  which css cover and contain do not.</p>
<p dir="auto">to help with smoothing the transitions and not having blank screen, I use an onLoad() handler to hide the prior and visualize the just loaded image.</p>
<p dir="auto">I have not tried these modifications in the middle_center mm position</p>
]]></description><link>https://forum.magicmirror.builders/post/103125</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103125</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 28 Jul 2022 16:32:06 GMT</pubDate></item><item><title><![CDATA[Reply to Display the specified picture in the specified location on Thu, 28 Jul 2022 13:50:11 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> Have you ever done a similar project? Can I refer to it:folded_hands:</p>
]]></description><link>https://forum.magicmirror.builders/post/103124</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103124</guid><dc:creator><![CDATA[史新瑞]]></dc:creator><pubDate>Thu, 28 Jul 2022 13:50:11 GMT</pubDate></item><item><title><![CDATA[Reply to Display the specified picture in the specified location on Thu, 28 Jul 2022 13:47:27 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> example:beaming_face_with_smiling_eyes: :beaming_face_with_smiling_eyes:</p>
]]></description><link>https://forum.magicmirror.builders/post/103123</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103123</guid><dc:creator><![CDATA[史新瑞]]></dc:creator><pubDate>Thu, 28 Jul 2022 13:47:27 GMT</pubDate></item><item><title><![CDATA[Reply to Display the specified picture in the specified location on Thu, 28 Jul 2022 12:08:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%E5%8F%B2%E6%96%B0%E7%91%9E" aria-label="Profile: 史新瑞">@<bdi>史新瑞</bdi></a> what do you mean routine?</p>
<p dir="auto">mm is a web page, using normal css and styles</p>
<p dir="auto">there are some predefined positions. see css/main.css</p>
]]></description><link>https://forum.magicmirror.builders/post/103122</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103122</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 28 Jul 2022 12:08:15 GMT</pubDate></item><item><title><![CDATA[Reply to Display the specified picture in the specified location on Thu, 28 Jul 2022 11:58:37 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> Do you have a specific routine? I am a novice, not familiar with it, thank you</p>
]]></description><link>https://forum.magicmirror.builders/post/103121</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103121</guid><dc:creator><![CDATA[史新瑞]]></dc:creator><pubDate>Thu, 28 Jul 2022 11:58:37 GMT</pubDate></item><item><title><![CDATA[Reply to Display the specified picture in the specified location on Thu, 28 Jul 2022 11:06:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%E5%8F%B2%E6%96%B0%E7%91%9E" aria-label="Profile: 史新瑞">@<bdi>史新瑞</bdi></a> use middle_center position?</p>
]]></description><link>https://forum.magicmirror.builders/post/103117</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103117</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 28 Jul 2022 11:06:17 GMT</pubDate></item></channel></rss>