<?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[How to fix size of photos &amp; videos NodeBB]]></title><description><![CDATA[<p dir="auto">hi<br />
how we can fix size of shared photos and videos ?</p>
]]></description><link>https://sudonix.org/topic/374/how-to-fix-size-of-photos-videos-nodebb</link><generator>RSS for Node</generator><lastBuildDate>Tue, 18 Aug 2026 11:06:16 GMT</lastBuildDate><atom:link href="https://sudonix.org/topic/374.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 02 Nov 2022 16:52:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to fix size of photos &amp; videos NodeBB on Fri, 04 Nov 2022 12:59:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/crazycells" aria-label="Profile: crazycells">@<bdi>crazycells</bdi></a> pleasure. Using percentages makes much more sense in this case. It’s the same argument with <code>px</code> vs <code>pt</code> vs <code>em</code> with fonts, margins, padding, etc., in the sense that <code>em</code> is generally preferred over <code>px</code> and <code>pt</code></p>
<p dir="auto"><a href="https://stackoverflow.com/questions/609517/why-em-instead-of-px" target="_blank" rel="noopener noreferrer nofollow ugc">https://stackoverflow.com/questions/609517/why-em-instead-of-px</a></p>
]]></description><link>https://sudonix.org/post/4745</link><guid isPermaLink="true">https://sudonix.org/post/4745</guid><dc:creator><![CDATA[phenomlab]]></dc:creator><pubDate>Fri, 04 Nov 2022 12:59:14 GMT</pubDate></item><item><title><![CDATA[Reply to How to fix size of photos &amp; videos NodeBB on Fri, 04 Nov 2022 12:38:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/phenomlab" aria-label="Profile: phenomlab">@<bdi>phenomlab</bdi></a> said in <a href="/post/4719">How to fix size of photos &amp; videos NodeBB</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/crazycells" aria-label="Profile: crazycells">@<bdi>crazycells</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/cagatay" aria-label="Profile: cagatay">@<bdi>cagatay</bdi></a> I’d suggest something like the below - essentially using percentages, as they will scale much better</p>
<pre><code>@media (min-width: 1200px) {
.topic .posts .content .img-responsive {
    max-width: 25%;
    width: auto;
    padding: 20px;
}
}
</code></pre>
</blockquote>
<p dir="auto">thanks <img src="https://sudonix.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44d.png?v=2ee9f75f7cb" class="not-responsive emoji emoji-android emoji--+1" style="height:23px;width:auto;vertical-align:middle" title=":+1:" alt="👍" /> this is a very smart solution…</p>
]]></description><link>https://sudonix.org/post/4742</link><guid isPermaLink="true">https://sudonix.org/post/4742</guid><dc:creator><![CDATA[crazycells]]></dc:creator><pubDate>Fri, 04 Nov 2022 12:38:20 GMT</pubDate></item><item><title><![CDATA[Reply to How to fix size of photos &amp; videos NodeBB on Thu, 03 Nov 2022 08:43:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/crazycells" aria-label="Profile: crazycells">@<bdi>crazycells</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/cagatay" aria-label="Profile: cagatay">@<bdi>cagatay</bdi></a> I’d suggest something like the below - essentially using percentages, as they will scale much better</p>
<pre><code>@media (min-width: 1200px) {
.topic .posts .content .img-responsive {
    max-width: 25%;
    width: auto;
    padding: 20px;
}
}
</code></pre>
]]></description><link>https://sudonix.org/post/4719</link><guid isPermaLink="true">https://sudonix.org/post/4719</guid><dc:creator><![CDATA[phenomlab]]></dc:creator><pubDate>Thu, 03 Nov 2022 08:43:37 GMT</pubDate></item><item><title><![CDATA[Reply to How to fix size of photos &amp; videos NodeBB on Wed, 02 Nov 2022 20:00:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cagatay" aria-label="Profile: cagatay">@<bdi>cagatay</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/phenomlab" aria-label="Profile: phenomlab">@<bdi>phenomlab</bdi></a> Actually, this is something we are having a problem with.</p>
<p dir="auto">picture/photo is transformed, but, it does not look good either on mobile or on a computer. Usually, the scale is huge for the desktop view but good for the mobile view, or ok with the desktop view, but the quality of the photo is significantly dropped on mobile.</p>
<p dir="auto">How can you achieve good scaling with max quality for both mobile and desktop views?</p>
]]></description><link>https://sudonix.org/post/4704</link><guid isPermaLink="true">https://sudonix.org/post/4704</guid><dc:creator><![CDATA[crazycells]]></dc:creator><pubDate>Wed, 02 Nov 2022 20:00:16 GMT</pubDate></item><item><title><![CDATA[Reply to How to fix size of photos &amp; videos NodeBB on Wed, 02 Nov 2022 19:50:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/phenomlab" aria-label="Profile: phenomlab">@<bdi>phenomlab</bdi></a> my forum showed posts which has photos and youtube videos are very big size. i want to fix it for example 100x100px not more then it.</p>
<p dir="auto">this is mine<br />
<img src="/assets/uploads/files/1667418595154-473961b5-fd7b-4d9a-8d03-06579b53cb4c-image.png" alt="473961b5-fd7b-4d9a-8d03-06579b53cb4c-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">this is yours <img src="https://sudonix.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=2ee9f75f7cb" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /><br />
<img src="/assets/uploads/files/1667418657109-1c5ed719-f5e4-433a-b8bc-a48d320e61cb-image.png" alt="1c5ed719-f5e4-433a-b8bc-a48d320e61cb-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://sudonix.org/post/4701</link><guid isPermaLink="true">https://sudonix.org/post/4701</guid><dc:creator><![CDATA[cagatay]]></dc:creator><pubDate>Wed, 02 Nov 2022 19:50:59 GMT</pubDate></item><item><title><![CDATA[Reply to How to fix size of photos &amp; videos NodeBB on Wed, 02 Nov 2022 19:00:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cagatay" aria-label="Profile: cagatay">@<bdi>cagatay</bdi></a> Can you give me a bit more information? It’s not entirely clear what you are looking for from your post.</p>
]]></description><link>https://sudonix.org/post/4700</link><guid isPermaLink="true">https://sudonix.org/post/4700</guid><dc:creator><![CDATA[phenomlab]]></dc:creator><pubDate>Wed, 02 Nov 2022 19:00:33 GMT</pubDate></item></channel></rss>