<?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[iFrame vs GIF]]></title><description><![CDATA[<p dir="auto">I’m lost, please help…I’ve tried iFrame, iFrame-reload, iFrame-reload-ping, but nothing works. I would like to have on my mirror actual version of image located <a href="http://portal.chmi.cz/files/portal/docs/meteo/rad/mobile/ra6_30min.gif" target="_blank" rel="noopener noreferrer nofollow ugc">here</a> - it’s animated GIF with radar measurement of clouds/rain in my country. The image is refreshed on the web every 10 mins I guess. and now the problem:<br />
iFrame - show the image, but there is no way for me to refresh (except restart MM)<br />
iFrameReload, iFrameReload-ping - doesn’t load image at all</p>
<p dir="auto">any idea?<br />
Thanks, Zdeněk</p>
]]></description><link>https://forum.magicmirror.builders/topic/8903/iframe-vs-gif</link><generator>RSS for Node</generator><lastBuildDate>Sat, 06 Jun 2026 20:29:44 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/8903.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 12 Oct 2018 11:59:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to iFrame vs GIF on Sun, 14 Oct 2018 07:01:33 GMT]]></title><description><![CDATA[<p dir="auto">@sean wow, thanks. That’s perfect. Just one point - I’ve it in top_center segment and the image is alligned to the left of that column. how to align it to center?</p>
<p dir="auto">I had no idea, how it works, but I guess via this modul is possible to get every data from every site, right? So, If I’ll need to get from <a href="https://ethermine.org/miners/3fD9930D6Ce6CDAbB85C70eE1181A44E72756519/dashboard" target="_blank" rel="noopener noreferrer nofollow ugc">here</a> the last table on the bottom, is there way, how to do it?</p>
<p dir="auto">thanks, Zdeněk</p>
]]></description><link>https://forum.magicmirror.builders/post/45385</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/45385</guid><dc:creator><![CDATA[zdenek]]></dc:creator><pubDate>Sun, 14 Oct 2018 07:01:33 GMT</pubDate></item><item><title><![CDATA[Reply to iFrame vs GIF on Fri, 12 Oct 2018 15:22:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zdenek" aria-label="Profile: zdenek">@<bdi>zdenek</bdi></a><br />
I think <a href="https://github.com/eouia/MMM-Widget" target="_blank" rel="noopener noreferrer nofollow ugc"><code>MMM-Widget</code></a> could solve this problem.<br />
Install that module and adjust config like this;</p>
<pre><code>{
          //disabled:true,
          module: "MMM-Widget",
          config: {
            widgets: [
              {
                position:"top_left",
                html:`
                &lt; img src="" id="IMG" &gt;
                &lt; script &gt;
                var draw = function(img) {
                  img.src = "http://portal.chmi.cz/files/portal/docs/meteo/rad/mobile/ra6_30min.gif?" + Date.now()
                }
                var img = document.getElementById("IMG")
                draw(img)
                setInterval(function() {
                  draw(img)
                }, 1000 * 60 * 10) // will be refreshed every 60*10 secs.
                &lt; /script &gt;
                `,
                width:"200px",
                height:"200px"
              }
            ]
          }
        },
</code></pre>
<p dir="auto">(Remove space around side of <code>&lt;</code> and <code>&gt;</code>)</p>
]]></description><link>https://forum.magicmirror.builders/post/45324</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/45324</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Fri, 12 Oct 2018 15:22:23 GMT</pubDate></item><item><title><![CDATA[Reply to iFrame vs GIF on Fri, 12 Oct 2018 14:59:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zdenek" aria-label="Profile: zdenek">@<bdi>zdenek</bdi></a><br />
I think that problem is caused by <code>image cache</code>.<br />
For performance, usual browser(and server) uses cache-control, so, your gif image would be cached.<br />
The easy solution will be change your URL slightly, like this;</p>
<pre><code>http://portal.chmi.cz/files/portal/docs/meteo/rad/mobile/ra6_30min.gif?SOME_RANDOM_SEED_VALUES
</code></pre>
<p dir="auto">But all of iFrame modules are not supported this feature.</p>
]]></description><link>https://forum.magicmirror.builders/post/45323</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/45323</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Fri, 12 Oct 2018 14:59:32 GMT</pubDate></item></channel></rss>