<?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[Image in module not showing on mirror browser]]></title><description><![CDATA[<p dir="auto">HI,<br />
I have an issue where an image is not loading on the browser of the mirror itself, while on Firefox on my laptop, it shows.</p>
<p dir="auto">The image is loaded in MMM-Sonos:</p>
<pre><code>                    if (item.track.albumArtURI !== null &amp;&amp; item.track.albumArtURI !== undefined &amp;&amp; item.track.albumArtURI.trim() !== "") {
                        albumCover.innerHTML = `&lt;img src="${item.track.albumArtURI}" width="80" height="80"&gt;`;
                    } else {
                        albumCover.innerHTML = `&lt;img src="SonosRadio.png" width="80" height="80"&gt;`;
                    }
                    container.append(albumCover);
</code></pre>
<p dir="auto">It seems to be some browser problem, because as said, on a laptop browser the image is shown.</p>
<p dir="auto">Any ideas?</p>
<p dir="auto">Thanks,<br />
Dirk</p>
]]></description><link>https://forum.magicmirror.builders/topic/18146/image-in-module-not-showing-on-mirror-browser</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 07:35:57 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/18146.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 06 Nov 2023 08:46:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Image in module not showing on mirror browser on Mon, 06 Nov 2023 23:28:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lavolp3" aria-label="Profile: lavolp3">@<bdi>lavolp3</bdi></a> see also<br />
<a href="https://forum.magicmirror.builders/topic/18131/possible-cross-origin-issue">https://forum.magicmirror.builders/topic/18131/possible-cross-origin-issue</a></p>
]]></description><link>https://forum.magicmirror.builders/post/112349</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/112349</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 06 Nov 2023 23:28:31 GMT</pubDate></item><item><title><![CDATA[Reply to Image in module not showing on mirror browser on Mon, 06 Nov 2023 12:53:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lavolp3" aria-label="Profile: lavolp3">@<bdi>lavolp3</bdi></a> said in <a href="/post/112325">Image in module not showing on mirror browser</a>:</p>
<blockquote>
<p dir="auto">But I can try to use electron’s developers tab.</p>
</blockquote>
<p dir="auto">yes, have to do it where the error is</p>
]]></description><link>https://forum.magicmirror.builders/post/112332</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/112332</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 06 Nov 2023 12:53:54 GMT</pubDate></item><item><title><![CDATA[Reply to Image in module not showing on mirror browser on Mon, 06 Nov 2023 12:51:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lavolp3" aria-label="Profile: lavolp3">@<bdi>lavolp3</bdi></a></p>
<p dir="auto">use this as the url</p>
<pre><code>Example input request url: 

http://address:port/cors?sendheaders=header1:value1,header2:value2&amp;expectedheaders=header1,header2&amp;url=http://www.test.com/path?param1=value1
</code></pre>
<p dir="auto">so when you break that down</p>
<p dir="auto"><a href="http://address" target="_blank" rel="noopener noreferrer nofollow ugc">http://address</a>:port   MM address (can be localhost, or ip address)  and port<br />
url=   the original url<br />
sendheaders=   whatever headers you need to set when sending<br />
expectedheaders=  whatever headers are expected on response</p>
]]></description><link>https://forum.magicmirror.builders/post/112331</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/112331</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 06 Nov 2023 12:51:17 GMT</pubDate></item><item><title><![CDATA[Reply to Image in module not showing on mirror browser on Mon, 06 Nov 2023 12:42:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lavolp3" aria-label="Profile: lavolp3">@<bdi>lavolp3</bdi></a> the systems are getting more sensitive to attackers everywhere</p>
<p dir="auto">MM is on a system using 0.0.0.0 probably and that gets sent in the browser making the request and the remote system says, I don’t know where that it, its ‘NOT’ in my allowed systems…</p>
]]></description><link>https://forum.magicmirror.builders/post/112330</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/112330</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 06 Nov 2023 12:42:05 GMT</pubDate></item><item><title><![CDATA[Reply to Image in module not showing on mirror browser on Mon, 06 Nov 2023 12:41: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> What’s the CORS service in MM?<br />
I see I have been away for a while…</p>
]]></description><link>https://forum.magicmirror.builders/post/112329</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/112329</guid><dc:creator><![CDATA[lavolp3]]></dc:creator><pubDate>Mon, 06 Nov 2023 12:41:01 GMT</pubDate></item><item><title><![CDATA[Reply to Image in module not showing on mirror browser on Mon, 06 Nov 2023 12:39:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lavolp3" aria-label="Profile: lavolp3">@<bdi>lavolp3</bdi></a> use the cors service in MM… someone has to change the code to change the link</p>
]]></description><link>https://forum.magicmirror.builders/post/112328</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/112328</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 06 Nov 2023 12:39:28 GMT</pubDate></item><item><title><![CDATA[Reply to Image in module not showing on mirror browser on Mon, 06 Nov 2023 12:39:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bugsounet" aria-label="Profile: bugsounet">@<bdi>bugsounet</bdi></a> Hi thanks for the help.<br />
Will consider reworking the code, but as said, it does work on an external browser, so the code itself should not be the issue, would it?<br />
Rather the interpretation by the browser or any frontend behaviour when downloading the file.</p>
]]></description><link>https://forum.magicmirror.builders/post/112327</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/112327</guid><dc:creator><![CDATA[lavolp3]]></dc:creator><pubDate>Mon, 06 Nov 2023 12:39:11 GMT</pubDate></item><item><title><![CDATA[Reply to Image in module not showing on mirror browser on Mon, 06 Nov 2023 12:37: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> that’s what I usually do, but here the error is not reproducible on any other browser. But I can try to use electron’s developers tab.</p>
<p dir="auto">However, I strongly suspect the reason is <a class="plugin-mentions-user plugin-mentions-a" href="/user/mmrize" aria-label="Profile: MMRIZE">@<bdi>MMRIZE</bdi></a> 's CORS issue.<br />
But have no real idea how to solve that.</p>
<p dir="auto">Anybody want to give me a hint?</p>
]]></description><link>https://forum.magicmirror.builders/post/112325</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/112325</guid><dc:creator><![CDATA[lavolp3]]></dc:creator><pubDate>Mon, 06 Nov 2023 12:37:00 GMT</pubDate></item><item><title><![CDATA[Reply to Image in module not showing on mirror browser on Mon, 06 Nov 2023 11:56:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lavolp3" aria-label="Profile: lavolp3">@<bdi>lavolp3</bdi></a> open the developers window and select the console tab to see the error</p>
]]></description><link>https://forum.magicmirror.builders/post/112324</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/112324</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 06 Nov 2023 11:56:28 GMT</pubDate></item><item><title><![CDATA[Reply to Image in module not showing on mirror browser on Mon, 06 Nov 2023 11:32:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lavolp3" aria-label="Profile: lavolp3">@<bdi>lavolp3</bdi></a><br />
Hi, what happen really? only show default image? Or the same? Nothing?</p>
<p dir="auto">Maybe typeOf is better for check uri value<br />
Maybe, InnerHtml is not the better way</p>
<ul>
<li>create an img element</li>
<li>use img.src=“uri”</li>
<li>use an css class for width/height</li>
<li>maybe add an seed for use not image cache</li>
<li>create a function for update it</li>
</ul>
<p dir="auto">Can we see current full code for inspect?</p>
]]></description><link>https://forum.magicmirror.builders/post/112323</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/112323</guid><dc:creator><![CDATA[bugsounet]]></dc:creator><pubDate>Mon, 06 Nov 2023 11:32:04 GMT</pubDate></item><item><title><![CDATA[Reply to Image in module not showing on mirror browser on Mon, 06 Nov 2023 09:07:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lavolp3" aria-label="Profile: lavolp3">@<bdi>lavolp3</bdi></a><br />
Maybe CORS rule exception?</p>
]]></description><link>https://forum.magicmirror.builders/post/112322</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/112322</guid><dc:creator><![CDATA[MMRIZE]]></dc:creator><pubDate>Mon, 06 Nov 2023 09:07:07 GMT</pubDate></item></channel></rss>