<?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[Captive portal image problem again]]></title><description><![CDATA[<p dir="auto">Hi all</p>
<p dir="auto">I've uploaded an image using the captive portal upload file manager (herotell.png) and uploaded a portal.html page with the following html code (captiveportal-) prepended</p>
<p dir="auto">...</p>
<pre><code>  &lt;span&gt; &lt;i&gt; Internet link sponsored by &lt;/i&gt; &lt;/span&gt;
  &lt;br/&gt;
  &lt;br/&gt;
  &lt;img style="width:200px;" src="captiveportal-herotell.png"/&gt;&lt;br&gt;
  &lt;/div&gt;
</code></pre>
<p dir="auto">...<br />
But it refused to show this image</p>
<p dir="auto">I checked the firewall /usr/local/captiveportal: directory - looks like file is there</p>
<p dir="auto">2.4.4-RELEASE][admin@iNethiMonitorOV.localdomain]/usr/local/captiveportal: ls -al<br />
total 104<br />
drwxr-xr-x   2 root  wheel    512 Mar  4 15:40 .<br />
drwxr-xr-x  17 root  wheel    512 Feb  2  2019 ..<br />
-rw-r--r--   1 root  wheel  82730 Sep  5  2018 captiveportal-default-logo.png<br />
lrwxr-xr-x   1 root  wheel     45 Mar  4 15:39 captiveportal-herotell.png -&gt; /var/db/cpelements/captiveportal-herotell.png<br />
lrwxr-xr-x   1 root  wheel     41 Mar  4 15:40 captiveportal-logo.png -&gt; /var/db/cpelements/captiveportal-logo.png<br />
-rw-r--r--   1 root  wheel   9301 Sep  5  2018 index.php</p>
<p dir="auto">Strange thing is that the other graphic element (captiveportal-logo.png) does display snipped of html earlier in the portal.html file for that is<br />
...</p>
<pre><code>&lt;div id="content"&gt;
&lt;div class="login-card"&gt;
&lt;img src="captiveportal-logo.png"/&gt;&lt;br&gt;
&lt;button class="button" onclick="window.location.href = 'http://splash.inethi.net';"&gt;Click here to &lt;/button&gt;
</code></pre>
<p dir="auto">...</p>
<p dir="auto">Am I missing something - I've restarted the firewall, captive portal ... tried everything</p>
]]></description><link>https://forum.netgate.com/topic/151041/captive-portal-image-problem-again</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 11:24:15 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/151041.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 04 Mar 2020 14:45:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Captive portal image problem again on Wed, 04 Mar 2020 15:47:20 GMT]]></title><description><![CDATA[<p dir="auto">Oops sorry about the false alarm - it turned out being a browser cache issue .. amateur hour :)</p>
]]></description><link>https://forum.netgate.com/post/895324</link><guid isPermaLink="true">https://forum.netgate.com/post/895324</guid><dc:creator><![CDATA[mozartatplay]]></dc:creator><pubDate>Wed, 04 Mar 2020 15:47:20 GMT</pubDate></item><item><title><![CDATA[Reply to Captive portal image problem again on Wed, 04 Mar 2020 15:02:24 GMT]]></title><description><![CDATA[<p dir="auto">When you use your browser to inspect the login page, check the img source link.<br />
If the image doesn't show, it will show why.</p>
<p dir="auto">From memory, if your set Status &gt; System&gt; Logs &gt; Settings &gt;  Web Server Log // Log errors from the web server process, you will be able to see the reason why the web server nginx can't show the page.</p>
<p dir="auto">Also : if you use the $$$$$ browser, use another one, or really empty the cache.</p>
<p dir="auto">Check also if the files really exists here : /var/db/cpelements/......</p>
]]></description><link>https://forum.netgate.com/post/895308</link><guid isPermaLink="true">https://forum.netgate.com/post/895308</guid><dc:creator><![CDATA[Gertjan]]></dc:creator><pubDate>Wed, 04 Mar 2020 15:02:24 GMT</pubDate></item></channel></rss>