<?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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Комментарии: Создание миниатюр на PHP</title>
	<atom:link href="http://vredniy.ru/2009/12/thumbnails-on-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://vredniy.ru/2009/12/thumbnails-on-php/</link>
	<description>все о веб-программировании</description>
	<lastBuildDate>Sun, 05 Feb 2012 09:02:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Автор: Вредный</title>
		<link>http://vredniy.ru/2009/12/thumbnails-on-php/comment-page-1/#comment-5131</link>
		<dc:creator>Вредный</dc:creator>
		<pubDate>Wed, 29 Dec 2010 08:12:36 +0000</pubDate>
		<guid isPermaLink="false">http://vredniy.ru/?p=96#comment-5131</guid>
		<description>вы правы, спасибо за исправления</description>
		<content:encoded><![CDATA[<p>вы правы, спасибо за исправления</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: incko</title>
		<link>http://vredniy.ru/2009/12/thumbnails-on-php/comment-page-1/#comment-5072</link>
		<dc:creator>incko</dc:creator>
		<pubDate>Tue, 28 Dec 2010 16:41:22 +0000</pubDate>
		<guid isPermaLink="false">http://vredniy.ru/?p=96#comment-5072</guid>
		<description>$new_height = !$use_y_ratio ? $height : floor($size[1] * $ratio);
нужно исправить на 
$new_height = !$use_x_ratio ? $height : floor($size[1] * $ratio);

а заливку делать надо либо белым
    $idest = imagecreatetruecolor($width, $height);
	imagefill($idest, 0, 0, 0xffffff);
либо любым другим цветом</description>
		<content:encoded><![CDATA[<p>$new_height = !$use_y_ratio ? $height : floor($size[1] * $ratio);<br />
нужно исправить на<br />
$new_height = !$use_x_ratio ? $height : floor($size[1] * $ratio);</p>
<p>а заливку делать надо либо белым<br />
    $idest = imagecreatetruecolor($width, $height);<br />
	imagefill($idest, 0, 0, 0xffffff);<br />
либо любым другим цветом</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: admin</title>
		<link>http://vredniy.ru/2009/12/thumbnails-on-php/comment-page-1/#comment-832</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 31 May 2010 13:03:48 +0000</pubDate>
		<guid isPermaLink="false">http://vredniy.ru/?p=96#comment-832</guid>
		<description>для этого нужно заполнять чем-нибудь получающиеся границы</description>
		<content:encoded><![CDATA[<p>для этого нужно заполнять чем-нибудь получающиеся границы</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Разработчик сайтов на joomla</title>
		<link>http://vredniy.ru/2009/12/thumbnails-on-php/comment-page-1/#comment-566</link>
		<dc:creator>Разработчик сайтов на joomla</dc:creator>
		<pubDate>Tue, 27 Apr 2010 10:17:18 +0000</pubDate>
		<guid isPermaLink="false">http://vredniy.ru/?p=96#comment-566</guid>
		<description>Интересно а как можно уменьшить изображение не пропорыционально а чтобы был один размер у мини картинок и при том не искажались пропорции</description>
		<content:encoded><![CDATA[<p>Интересно а как можно уменьшить изображение не пропорыционально а чтобы был один размер у мини картинок и при том не искажались пропорции</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: admin</title>
		<link>http://vredniy.ru/2009/12/thumbnails-on-php/comment-page-1/#comment-377</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sat, 03 Apr 2010 17:29:11 +0000</pubDate>
		<guid isPermaLink="false">http://vredniy.ru/?p=96#comment-377</guid>
		<description>у меня вроде нормально уменьшает, приведите пример неправильно работающего кода
спасибо</description>
		<content:encoded><![CDATA[<p>у меня вроде нормально уменьшает, приведите пример неправильно работающего кода<br />
спасибо</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: alex</title>
		<link>http://vredniy.ru/2009/12/thumbnails-on-php/comment-page-1/#comment-358</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Fri, 02 Apr 2010 09:25:46 +0000</pubDate>
		<guid isPermaLink="false">http://vredniy.ru/?p=96#comment-358</guid>
		<description>скрипт искажает миниатюру до неузнаваемости! как сделать, чтобы  пропорционально уменьшал?</description>
		<content:encoded><![CDATA[<p>скрипт искажает миниатюру до неузнаваемости! как сделать, чтобы  пропорционально уменьшал?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

