<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Image Resizing</title>
		<link>https://www.cotonti.com</link>
		<description>Son konu mesajları</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Thu, 07 May 2026 17:02:45 -0000</pubDate>

		<item>
			<title>Franco</title>
			<description><![CDATA[<p>
	but isn't that to make the entire website smaller? the only thing that looks bad are the images on the news...</p>
<p>
	 </p>
<p>
	i'll see if i can adapt it to work only there</p>
<p>
	<strong>Added 51 minutes later:</strong></p>
<p>
	ok.. did it another way....</p>
<p>
	 </p>
<p>
	in the index i placed this</p>
<pre class="brush:jscript;">
&lt;SCRIPT LANGUAGE="JavaScript"&gt;


&lt;!-- Begin
function redirectCSS() {

if (screen.width =&lt; 1024)
      {document.write("&lt;link href='https://www.cotonti.com/skins/senator/css/red.css' rel='stylesheet' type='text/css'&gt;")}

else
      {document.write("&lt;link href='https://www.cotonti.com/skins/senator/css/blue.css' rel='stylesheet' type='text/css'&gt;")}
}
redirectCSS()
// End --&gt;
&lt;/script&gt;</pre>
<p>
	<strong>Added 36 seconds later:</strong></p>
<p>
	and then in the other css i set the image widht with this</p>
<p>
	 </p>
<pre class="brush:css;">
img {  
max-width:400px;
}  </pre>
]]></description>
			<pubDate>Pzt, 07 Kas 2011 18:41:12 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=6594&d=0#post31339]]></link>
		</item>
		<item>
			<title>pieter</title>
			<description><![CDATA[<p>
	<a href="http://www.pageresource.com/jscript/jscreen.htm" rel="nofollow">http://www.pageresource.com/jscript/jscreen.htm</a></p>
]]></description>
			<pubDate>Pzt, 07 Kas 2011 17:24:05 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=6594&d=0#post31338]]></link>
		</item>
		<item>
			<title>Franco</title>
			<description><![CDATA[<p>
	hi!</p>
<p>
	i'm using Senator skin, and it addapts to the screen resolution, is there a way to make images in news do the same? because they look bad on lower skin resolutions like 1024x768. </p>
<p>
	 </p>
<p>
	it will be like making, if the screen resolution is lower than 1024 pixel width resize the image, and if not just use the slimbox plugin...</p>
<p>
	 </p>
<p>
	i think it could be done in the css, but i don't know how to detect the user resolution</p>
]]></description>
			<pubDate>Pzt, 07 Kas 2011 14:56:55 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=6594&d=0#post31334]]></link>
		</item>
	</channel>
</rss>