<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : [img] change size?</title>
		<link>https://www.cotonti.com</link>
		<description>Last topic posts</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Wed, 15 Apr 2026 22:52:19 -0000</pubDate>

		<item>
			<title>ez</title>
			<description><![CDATA[You can also do it with hooks and tpls..<br />
I have made solutions were image sizes are controlled by php and not by js...]]></description>
			<pubDate>Thu, 27 Jan 2011 16:04:50 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6141&d=0#post28132]]></link>
		</item>
		<item>
			<title>Kort</title>
			<description><![CDATA[Any lightbox clone can handle resize for images marked by a rel or class, which is easy using bbcodes.]]></description>
			<pubDate>Wed, 26 Jan 2011 23:01:48 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6141&d=0#post28126]]></link>
		</item>
		<item>
			<title>pieter</title>
			<description><![CDATA[this is javascript, I forgot the headerpart:<br />
<br />
<div class="highlight"><pre class="js">	&lt;script type=&quot;text/javascript&quot;&gt; 
		$(document).ready(function() {
			jQuery(function($) {
				$(&quot;a&#091;href&#093;&quot;).filter(function() {
					return /\.(jpg|png|gif)$/i.test(this.href);
				}).slimbox({}, null, function(el) {
					return (this == el) || (this.parentNode &amp;&amp; (this.parentNode == el.parentNode));
				});
			});
			$(&quot;.scale&quot;).jScale({ls:&quot;550px&quot;})
 
		});
	&lt;/script&gt; </pre></div>]]></description>
			<pubDate>Wed, 26 Jan 2011 22:56:05 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6141&d=0#post28125]]></link>
		</item>
		<item>
			<title>GHengeveld</title>
			<description><![CDATA[That's an interesting bug. Best solution for the image resize problem is a piece of JavaScript that detects image sizes and downscales if necessary. I'm sure there's scripts like that available online.]]></description>
			<pubDate>Wed, 26 Jan 2011 22:31:02 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6141&d=0#post28124]]></link>
		</item>
		<item>
			<title>pieter</title>
			<description><![CDATA[Can you change the topic title?<br />
change <pre class="code">&#091;img&#093; in &#091; img &#093;</pre>
<br />
That's why my post and your first have a [ /img ] at the end.]]></description>
			<pubDate>Wed, 26 Jan 2011 19:50:33 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6141&d=0#post28123]]></link>
		</item>
		<item>
			<title>w1ckd</title>
			<description><![CDATA[Thank you very mutch pieter <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/smile.gif" alt=":)" />]]></description>
			<pubDate>Wed, 26 Jan 2011 18:26:23 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6141&d=0#post28121]]></link>
		</item>
		<item>
			<title>pieter</title>
			<description><![CDATA[Hi,<br />
<br />
If you go to admin.php?m=bbcode<br />
Search for [img]<br />
In the column &quot;Replacement&quot; add inside the &lt;img ...&gt; a class:<br />
eg class=&quot;resizeimage&quot;<br />
<br />
If got this:<br />
<pre class="code">&lt;a href=https://www.cotonti.com/&quot;$1&quot;&gt;&lt;img src=&quot;$2&quot; alt=&quot;&quot; class=&quot;resizeimage&quot; /&gt;&lt;/a&gt;</pre>
<br />
In css:<br />
<pre class="code">/*This is for Jquery*/
/* for understanding browsers */
.resizeimage   { max-width:250px;max-height:250px;}
/* for Internet Explorer */
/*\*/
* html .resizeimage{
border-width:1px solid #000000;
height: expression(this.height &gt;= this.width &amp;&amp; this.height &gt; 250 ? '250px' : true);
width: expression(this.height &lt; this.width &amp;&amp; this.width &gt; 250 ? '250px' : true);
}</pre>[/img]]]></description>
			<pubDate>Wed, 26 Jan 2011 14:53:01 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6141&d=0#post28118]]></link>
		</item>
		<item>
			<title>w1ckd</title>
			<description><![CDATA[Hi,<br />
I searched the whole forum as far as the searchresults go but with a negative result.<br />
<br />
When a user add a image in the forum he enters it by [img]<br />
However these images are always wider then my forum, so i always have that scrollbar.<br />
How could i change the [img] tag to a limited size ex&quot; 500px width?<br />
<br />
It should be something with bbcode right? or is there a plugin?<br />
<br />
Thank you in advanced <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/smile.gif" alt=":)" />[/img][/img]]]></description>
			<pubDate>Wed, 26 Jan 2011 05:12:13 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6141&d=0#post28112]]></link>
		</item>
	</channel>
</rss>