<?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>Comments on: regenerate paperclip thumbnails</title>
	<atom:link href="http://codetocustomer.com/blog/2008/07/regenerate-paperclip-thumbnails/feed" rel="self" type="application/rss+xml" />
	<link>http://codetocustomer.com/blog/2008/07/regenerate-paperclip-thumbnails</link>
	<description>Ruby on Rails developers from Wellington, New Zealand</description>
	<lastBuildDate>Tue, 02 Feb 2010 09:42:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Andre Durao</title>
		<link>http://codetocustomer.com/blog/2008/07/regenerate-paperclip-thumbnails/comment-page-1#comment-389</link>
		<dc:creator>Andre Durao</dc:creator>
		<pubDate>Fri, 27 Nov 2009 14:14:44 +0000</pubDate>
		<guid isPermaLink="false">http://codetocustomer.com/?p=65#comment-389</guid>
		<description>Thanks It really save me precious time!</description>
		<content:encoded><![CDATA[<p>Thanks It really save me precious time!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ethan</title>
		<link>http://codetocustomer.com/blog/2008/07/regenerate-paperclip-thumbnails/comment-page-1#comment-374</link>
		<dc:creator>Ethan</dc:creator>
		<pubDate>Fri, 24 Jul 2009 00:56:59 +0000</pubDate>
		<guid isPermaLink="false">http://codetocustomer.com/?p=65#comment-374</guid>
		<description>Hi, you mention .reprocess! on the above comments.
How would I use .reprocess! on my application? Is it used on a rake task?
Also, how can we save the Geometry into the database? Can you point me to a tutorial on how to do that?
Thanks a lot!</description>
		<content:encoded><![CDATA[<p>Hi, you mention .reprocess! on the above comments.<br />
How would I use .reprocess! on my application? Is it used on a rake task?<br />
Also, how can we save the Geometry into the database? Can you point me to a tutorial on how to do that?<br />
Thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cómo evitar la regeneración de thumbnails con attachment_fu &#8212; Jaime Iniesta - Programador web freelance Ruby on Rails</title>
		<link>http://codetocustomer.com/blog/2008/07/regenerate-paperclip-thumbnails/comment-page-1#comment-194</link>
		<dc:creator>Cómo evitar la regeneración de thumbnails con attachment_fu &#8212; Jaime Iniesta - Programador web freelance Ruby on Rails</dc:creator>
		<pubDate>Wed, 20 Aug 2008 09:15:20 +0000</pubDate>
		<guid isPermaLink="false">http://codetocustomer.com/?p=65#comment-194</guid>
		<description>[...] Sería interesante mirarlo más en profundidad para que sí lo haga en caso de que le estemos pasando un nuevo fichero de imagen, pero por el momento me vale para mis propósitos&#8230; y de todos modos quizá es hora de irse cambiando a paperclip, que por lo que tengo entendido, no tiene este comportamiento&#8230; aunque tampoco es del todo cómodo porque he leído que para regenerar los thumbnails en paperclip es necesario lanzar una tarea rake. [...]</description>
		<content:encoded><![CDATA[<p>[...] Sería interesante mirarlo más en profundidad para que sí lo haga en caso de que le estemos pasando un nuevo fichero de imagen, pero por el momento me vale para mis propósitos&#8230; y de todos modos quizá es hora de irse cambiando a paperclip, que por lo que tengo entendido, no tiene este comportamiento&#8230; aunque tampoco es del todo cómodo porque he leído que para regenerar los thumbnails en paperclip es necesario lanzar una tarea rake. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nik</title>
		<link>http://codetocustomer.com/blog/2008/07/regenerate-paperclip-thumbnails/comment-page-1#comment-182</link>
		<dc:creator>Nik</dc:creator>
		<pubDate>Tue, 29 Jul 2008 22:10:02 +0000</pubDate>
		<guid isPermaLink="false">http://codetocustomer.com/?p=65#comment-182</guid>
		<description>@Dan: I&#039;m not sure, we&#039;re all on OS X here.
&lt;br /&gt;
Although, it does sound suspiciously like you might have forgotten to restart your server.... (to load the plugin)</description>
		<content:encoded><![CDATA[<p>@Dan: I&#8217;m not sure, we&#8217;re all on OS X here.<br />
<br />
Although, it does sound suspiciously like you might have forgotten to restart your server&#8230;. (to load the plugin)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://codetocustomer.com/blog/2008/07/regenerate-paperclip-thumbnails/comment-page-1#comment-181</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Tue, 29 Jul 2008 13:48:01 +0000</pubDate>
		<guid isPermaLink="false">http://codetocustomer.com/?p=65#comment-181</guid>
		<description>I have been trying to use Paperclip with Windows, but keep getting an error that says &quot;has_attached_file&quot; is an undefined method. Any idea what is going wrong, or whether I&#039;m missing something here?</description>
		<content:encoded><![CDATA[<p>I have been trying to use Paperclip with Windows, but keep getting an error that says &#8220;has_attached_file&#8221; is an undefined method. Any idea what is going wrong, or whether I&#8217;m missing something here?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aurels</title>
		<link>http://codetocustomer.com/blog/2008/07/regenerate-paperclip-thumbnails/comment-page-1#comment-179</link>
		<dc:creator>aurels</dc:creator>
		<pubDate>Tue, 29 Jul 2008 08:11:55 +0000</pubDate>
		<guid isPermaLink="false">http://codetocustomer.com/?p=65#comment-179</guid>
		<description>I found my way simply using File:

my_model.file = File.new(&quot;/path/to/file.pdf&quot;)
my_model.save

;-)</description>
		<content:encoded><![CDATA[<p>I found my way simply using File:</p>
<p>my_model.file = File.new(&#8220;/path/to/file.pdf&#8221;)<br />
my_model.save</p>
<p>;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aurels</title>
		<link>http://codetocustomer.com/blog/2008/07/regenerate-paperclip-thumbnails/comment-page-1#comment-178</link>
		<dc:creator>aurels</dc:creator>
		<pubDate>Tue, 29 Jul 2008 07:23:54 +0000</pubDate>
		<guid isPermaLink="false">http://codetocustomer.com/?p=65#comment-178</guid>
		<description>Hi!

I discovered Paperclip one week ago and I&#039;m already in love with it!

Does someone knows if it&#039;s possible to link a file to a paperclip-enabled model from the server&#039;s filesystem (not using a user file field input). If yes, how?
I don&#039;t know if I&#039;ve to use File, TempFile or ...

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>I discovered Paperclip one week ago and I&#8217;m already in love with it!</p>
<p>Does someone knows if it&#8217;s possible to link a file to a paperclip-enabled model from the server&#8217;s filesystem (not using a user file field input). If yes, how?<br />
I don&#8217;t know if I&#8217;ve to use File, TempFile or &#8230;</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nik</title>
		<link>http://codetocustomer.com/blog/2008/07/regenerate-paperclip-thumbnails/comment-page-1#comment-152</link>
		<dc:creator>Nik</dc:creator>
		<pubDate>Thu, 10 Jul 2008 03:36:35 +0000</pubDate>
		<guid isPermaLink="false">http://codetocustomer.com/?p=65#comment-152</guid>
		<description>@Dios: All it does is use ImageMagick on the command line, so it should be easy enough to make changes so that it passes the correct arguments through to &quot;convert&quot;. (check lib/paperclip/thumbnail.rb)</description>
		<content:encoded><![CDATA[<p>@Dios: All it does is use ImageMagick on the command line, so it should be easy enough to make changes so that it passes the correct arguments through to &#8220;convert&#8221;. (check lib/paperclip/thumbnail.rb)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dios</title>
		<link>http://codetocustomer.com/blog/2008/07/regenerate-paperclip-thumbnails/comment-page-1#comment-151</link>
		<dc:creator>Dios</dc:creator>
		<pubDate>Thu, 10 Jul 2008 03:27:01 +0000</pubDate>
		<guid isPermaLink="false">http://codetocustomer.com/?p=65#comment-151</guid>
		<description>Is there a way to change dpi setting for jpegs?
Or compression quality for that matter?</description>
		<content:encoded><![CDATA[<p>Is there a way to change dpi setting for jpegs?<br />
Or compression quality for that matter?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nik</title>
		<link>http://codetocustomer.com/blog/2008/07/regenerate-paperclip-thumbnails/comment-page-1#comment-139</link>
		<dc:creator>Nik</dc:creator>
		<pubDate>Sun, 06 Jul 2008 02:07:42 +0000</pubDate>
		<guid isPermaLink="false">http://codetocustomer.com/?p=65#comment-139</guid>
		<description>@tim: Aah, thanks for that! .reprocess! is actually what I was looking for :)</description>
		<content:encoded><![CDATA[<p>@tim: Aah, thanks for that! .reprocess! is actually what I was looking for :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Haines</title>
		<link>http://codetocustomer.com/blog/2008/07/regenerate-paperclip-thumbnails/comment-page-1#comment-136</link>
		<dc:creator>Tim Haines</dc:creator>
		<pubDate>Sat, 05 Jul 2008 07:54:49 +0000</pubDate>
		<guid isPermaLink="false">http://codetocustomer.com/?p=65#comment-136</guid>
		<description>Hey Nik,

I&#039;ve been using Paperclip quite a bit.  You can regen thumbs by calling .reprocess!   On some classes I&#039;m setting up custom widths and heights and then reprocessing the thumbs when the model is saved..

There&#039;s some other nice stuff that isn&#039;t well documented yet, such as setting the thumb width and height via proc, and saving the geometry as an additional column.

Not that it will effect you guys - but there&#039;s a few gotch&#039;yas on windows too.  The plugin doesn&#039;t work very nicely with tempfiles on Windows.  You need to set binmode when you open the files, and pull a couple of other tricks..

Pretty sweet plugin though - I like it for it&#039;s simplicity.  We&#039;ve been feeding it with swfupload.

Tim.</description>
		<content:encoded><![CDATA[<p>Hey Nik,</p>
<p>I&#8217;ve been using Paperclip quite a bit.  You can regen thumbs by calling .reprocess!   On some classes I&#8217;m setting up custom widths and heights and then reprocessing the thumbs when the model is saved..</p>
<p>There&#8217;s some other nice stuff that isn&#8217;t well documented yet, such as setting the thumb width and height via proc, and saving the geometry as an additional column.</p>
<p>Not that it will effect you guys &#8211; but there&#8217;s a few gotch&#8217;yas on windows too.  The plugin doesn&#8217;t work very nicely with tempfiles on Windows.  You need to set binmode when you open the files, and pull a couple of other tricks..</p>
<p>Pretty sweet plugin though &#8211; I like it for it&#8217;s simplicity.  We&#8217;ve been feeding it with swfupload.</p>
<p>Tim.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
