<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>selfoss support forum - Hide Youtube Images on collapsed records</title>
<link>https://forum.selfoss.aditu.de/</link>
<description>selfoss support forum</description>
<language>en</language>
<item>
<title>Hide Youtube Images on collapsed records (reply)</title>
<content:encoded><![CDATA[<p>I looked at the source code for <a href="https://github.com/fossar/selfoss/blob/2.18/public/js/selfoss-events-entries.js#L88-L92">selfoss 2.18</a> and it looks like there unfortunately is not any equivalent to the <code>expanded</code> class. It would be possible to do it in <code>user.js</code> but that is probably more trouble than it is worth so I would just <a href="https://github.com/fossar/selfoss#update">switch</a> to the <a href="https://github.com/fossar/selfoss#download">latest build</a>.</p>
<p>I have now pushed <a href="https://github.com/fossar/selfoss/commit/3c219f6971418ee425d681410ab85724e93a5533">a fix</a> so that <code>show_thumbnails=0</code> will only affect collapsed articles.</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=1438</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=1438</guid>
<pubDate>Sat, 20 Feb 2021 12:02:10 +0000</pubDate>
<dc:creator>jtojnar</dc:creator>
</item>
<item>
<title>Hide Youtube Images on collapsed records (reply)</title>
<content:encoded><![CDATA[<p>Thanks jtojnar, that's great! I tried your user.css modification and the youtube images are gone <img src="https://forum.selfoss.aditu.de/images/smilies/smile.png" alt=":-)" /> Unfortunately they never display now, even with expanded section. I tried with &quot;.selected&quot; rather than &quot;.expanded&quot; as this will not show the images initially and then display it when selected, but unfortunately it does not hide the youtube image when collapsing the section because it's still selected. Anyway, I'm now using your proposed css so that the youtube images are never shown.<br />
Thanks a lot!</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=1437</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=1437</guid>
<pubDate>Sat, 20 Feb 2021 11:35:07 +0000</pubDate>
<dc:creator>Kai</dc:creator>
</item>
<item>
<title>Hide Youtube Images on collapsed records (reply)</title>
<content:encoded><![CDATA[<p>There are two options to achieve that:</p>
<p>You can disable thumbnails altogether by adding <code>show_thumbnails=0</code> to your <code>config.ini</code> file. But that also applies for thumbnails of other source types and you would lose the thumbnails completely. The patch also is <a href="https://github.com/fossar/selfoss/commit/0077b072565178e5467f2d60624fa1bc24c1b94a">not available in 2.18</a> so you would need the <a href="https://github.com/fossar/selfoss#download">development build</a>.</p>
<p>Alternately, you can hide the thumbnail by adding the following CSS into <code>user.css</code> file in the root of your selfoss installation:</p>
<pre><code>.entry:not(.expanded) .entry-thumbnail {
display: none;
}</code></pre><p>I only tested that with development release, though. It might need to be adjusted if you use selfoss 2.18.</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=1436</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=1436</guid>
<pubDate>Sat, 20 Feb 2021 11:12:25 +0000</pubDate>
<dc:creator>jtojnar</dc:creator>
</item>
<item>
<title>Hide Youtube Images on collapsed records</title>
<content:encoded><![CDATA[<p>Hi all,<br />
I've added my first youtube channel to my selfoss installation and I'm quite surprised that the large youtube image (480x360) is always shown, regardless whether section is collapsed or not. There seems to be no parameter to change this, right? Currently my feed then just shows 2 articles <img src="https://forum.selfoss.aditu.de/images/smilies/frown.png" alt=":-(" /> due to these large images. Is it somehow possible to place these images into the expanded section part so they are not shown until I click on the title?<br />
Many thanks!</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=1435</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=1435</guid>
<pubDate>Fri, 19 Feb 2021 12:38:58 +0000</pubDate>
<dc:creator>Kai</dc:creator>
</item>
</channel>
</rss>
