<?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[Way to display/refresh an image URL?]]></title><description><![CDATA[<p dir="auto">Say I wanted to have a local weather radar displayed on my mirror. I have a direct URL to a .gif that is updated in place periodically. (Example: <a href="http://images.intellicast.com/WxImages/Radar/bgm.gif" target="_blank" rel="noopener noreferrer nofollow ugc">http://images.intellicast.com/WxImages/Radar/bgm.gif</a>). Is MM able to grab that image from that URL, display it, and refresh it from that URL periodically?</p>
]]></description><link>https://forum.magicmirror.builders/topic/1505/way-to-display-refresh-an-image-url</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Jul 2026 15:48:54 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/1505.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 23 Jan 2017 02:39:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Way to display/refresh an image URL? on Tue, 24 Jan 2017 13:45:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fjnorb" aria-label="Profile: fjnorb">@<bdi>fjnorb</bdi></a></p>
<p dir="auto">then make a pull request to the developer with your wish to implement a argument to define x and y with of the picture limitation.</p>
<p dir="auto">take a look at this post:</p>
<p dir="auto"><a href="https://forum.magicmirror.builders/topic/986/mmm-globe/25">https://forum.magicmirror.builders/topic/986/mmm-globe/25</a></p>
<p dir="auto">ask <a class="plugin-mentions-user plugin-mentions-a" href="/user/svensommer" aria-label="Profile: SvenSommer">@<bdi>SvenSommer</bdi></a> , maybe he can help you at firt before the pull request is done.</p>
<p dir="auto">Hey guys,<br />
I was able to cut the white bar by cutting the last pixels (depending on the image size) from this image with adding the following to MMM-Globe.js</p>
<pre><code>getDom: function () {
    var wrapper = document.createElement("div");
    if (this.config.style == "europeDiscNat") {
	wrapper.style.height = 0.98 * this.config.imageSize - 1 + "px";
	wrapper.style.overflow = "hidden";
    }

    var image = document.createElement("img");
</code></pre>
<hr />
<p dir="auto"><strong>Note from admin:</strong> Please use <a href="https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#code" target="_blank" rel="noopener noreferrer nofollow ugc">Markdown</a> on code snippets for easier reading!</p>
]]></description><link>https://forum.magicmirror.builders/post/12251</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/12251</guid><dc:creator><![CDATA[lolobyte]]></dc:creator><pubDate>Tue, 24 Jan 2017 13:45:05 GMT</pubDate></item><item><title><![CDATA[Reply to Way to display/refresh an image URL? on Mon, 23 Jan 2017 20:00:50 GMT]]></title><description><![CDATA[<p dir="auto">Why would I ask if a module is available if I had the skill to hack them?</p>
]]></description><link>https://forum.magicmirror.builders/post/12249</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/12249</guid><dc:creator><![CDATA[fjnorb]]></dc:creator><pubDate>Mon, 23 Jan 2017 20:00:50 GMT</pubDate></item><item><title><![CDATA[Reply to Way to display/refresh an image URL? on Mon, 23 Jan 2017 19:17:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fjnorb" aria-label="Profile: fjnorb">@<bdi>fjnorb</bdi></a></p>
<p dir="auto">than you must hack a bit the module</p>
]]></description><link>https://forum.magicmirror.builders/post/12237</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/12237</guid><dc:creator><![CDATA[lolobyte]]></dc:creator><pubDate>Mon, 23 Jan 2017 19:17:08 GMT</pubDate></item><item><title><![CDATA[Reply to Way to display/refresh an image URL? on Mon, 23 Jan 2017 17:35:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fjnorb" aria-label="Profile: fjnorb">@<bdi>fjnorb</bdi></a> yes, but in the .js file you can alter the line</p>
<pre><code>var src = "http://www.yr.no/place/" + this.config.country +, "/" + this.config.area + "/" + this.config.city + "/meteogram.png?" + new Date().getTime();

</code></pre>
<p dir="auto">to</p>
<pre><code>var src = "http://images.intellicast.com/WxImages/Radar/bgm.gif";
</code></pre>
<p dir="auto">But that is altering the module and you still would have to change the width and height further down in the same .js file.</p>
<p dir="auto">the globe module is the easier route and you should be able to just change the css to render another image size.</p>
]]></description><link>https://forum.magicmirror.builders/post/12225</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/12225</guid><dc:creator><![CDATA[broberg]]></dc:creator><pubDate>Mon, 23 Jan 2017 17:35:14 GMT</pubDate></item><item><title><![CDATA[Reply to Way to display/refresh an image URL? on Mon, 23 Jan 2017 17:03:16 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> mmm-weatherchart shows a chart, not a radar image.</p>
]]></description><link>https://forum.magicmirror.builders/post/12216</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/12216</guid><dc:creator><![CDATA[fjnorb]]></dc:creator><pubDate>Mon, 23 Jan 2017 17:03:16 GMT</pubDate></item><item><title><![CDATA[Reply to Way to display/refresh an image URL? on Mon, 23 Jan 2017 16:57:34 GMT]]></title><description><![CDATA[<p dir="auto">Thank you. Of the two suggetsions, MMM-Globe (which I never would have thought to use) is the only one that will let me use a custom radar image, however it seems that the Globe module only allows you to use completely square images, and distorts them to exactly square if you don’t. The example image I provided was 768x496, for instance, and there is only one “imageSize” option, and in the code it is used to set both width and height. For a globe picture that’s fine, but not for this.</p>
]]></description><link>https://forum.magicmirror.builders/post/12212</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/12212</guid><dc:creator><![CDATA[fjnorb]]></dc:creator><pubDate>Mon, 23 Jan 2017 16:57:34 GMT</pubDate></item><item><title><![CDATA[Reply to Way to display/refresh an image URL? on Mon, 23 Jan 2017 17:28:46 GMT]]></title><description><![CDATA[<p dir="auto">This will help you!</p>
<p dir="auto">Install the “MMM-Globe” from<br />
<a href="https://github.com/LukeSkywalker92/MMM-Globe" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/LukeSkywalker92/MMM-Globe</a></p>
<p dir="auto">and insert at “ownImagePath” your own URL.</p>
<p dir="auto">Good luck.</p>
<pre><code>{
    module: 'MMM-Globe',
    position: 'center',
    config: {
        style: 'geoColor',
        imageSize: 600,
        ownImagePath: ''http://images.intellicast.com/WxImages/Radar/bgm.gif",
        updateInterval: 10*60*1000
    }
},
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/12150</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/12150</guid><dc:creator><![CDATA[lolobyte]]></dc:creator><pubDate>Mon, 23 Jan 2017 17:28:46 GMT</pubDate></item><item><title><![CDATA[Reply to Way to display/refresh an image URL? on Mon, 23 Jan 2017 09:58:12 GMT]]></title><description><![CDATA[<p dir="auto">Yes, look at the module mmm-weatherchart, it does exactly that</p>
<p dir="auto">[card:paphko/mmm-weatherchart]</p>
]]></description><link>https://forum.magicmirror.builders/post/12149</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/12149</guid><dc:creator><![CDATA[broberg]]></dc:creator><pubDate>Mon, 23 Jan 2017 09:58:12 GMT</pubDate></item></channel></rss>