<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Rails Forum - Ruby on Rails Help and Discussion Forum - Image uploads and resizing for Rails models with mini-magick]]></title>
		<link>http://railsforum.com/viewtopic.php?id=962</link>
		<description><![CDATA[The most recent posts in Image uploads and resizing for Rails models with mini-magick.]]></description>
		<lastBuildDate>Thu, 06 Nov 2008 22:25:48 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Image uploads and resizing for Rails models with mini-magick]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=79671#p79671</link>
			<description><![CDATA[<p>Hi, I figured that I wasn&#039;t constructing my form correctly with multipart=true so that fixed that...but now there&#039;s another issue: basically the original file is being uploaded to the public folder but no communication with the database has taken place.</p><p>there&#039;s a whole lotta &#039;nil&#039; where my image_square etc fields are.</p><p>UPDATE: resolved - needed to reboot and redo my paths after installing ImageMagick. Sorted it.</p><br /><p>andy</p>]]></description>
			<author><![CDATA[dummy@example.com (ThePiedPipes)]]></author>
			<pubDate>Thu, 06 Nov 2008 22:25:48 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=79671#p79671</guid>
		</item>
		<item>
			<title><![CDATA[Re: Image uploads and resizing for Rails models with mini-magick]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=79668#p79668</link>
			<description><![CDATA[<p>Hello. I&#039;m trying to follow the tutorial, but have received this error:</p><p><pre name="code" class="ruby:nogutter">undefined method `original_filename&#039; for &quot;watermelon.jpg&quot;:String</pre><br />where should I be looking for the original_filename and content_type methods?</p><p>I know that they are supposed to be methods of the file, but I have set :multipart =&gt; true in the form_tag, so it should be running smoothly.</p><p>completely lost as to how to make this work.</p><p>thanks in advance.</p><p>andy</p>]]></description>
			<author><![CDATA[dummy@example.com (ThePiedPipes)]]></author>
			<pubDate>Thu, 06 Nov 2008 21:45:46 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=79668#p79668</guid>
		</item>
		<item>
			<title><![CDATA[Re: Image uploads and resizing for Rails models with mini-magick]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=77087#p77087</link>
			<description><![CDATA[<p>I have followed the instructions for mini_magick...but if i add some different kind of image file,than old one.... then old one is not deleting.. pls help. its urgent ...:(</p>]]></description>
			<author><![CDATA[dummy@example.com (santu_hvr)]]></author>
			<pubDate>Wed, 08 Oct 2008 06:53:39 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=77087#p77087</guid>
		</item>
		<item>
			<title><![CDATA[Re: Image uploads and resizing for Rails models with mini-magick]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=75549#p75549</link>
			<description><![CDATA[<p>One issue is that this creates images that will load a new image, but won&#039;t change the image names.&nbsp; So browsers need to &quot;reload&quot; the view in order to get the new image.&nbsp; You can fix this by adding ?#{Time.now.to_i} after the image reference.</p>]]></description>
			<author><![CDATA[dummy@example.com (ice)]]></author>
			<pubDate>Sat, 20 Sep 2008 16:32:38 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=75549#p75549</guid>
		</item>
		<item>
			<title><![CDATA[Re: Image uploads and resizing for Rails models with mini-magick]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=66338#p66338</link>
			<description><![CDATA[<p>Never mind... I had to install the imagemagick package.<br />Thanks anyway.</p>]]></description>
			<author><![CDATA[dummy@example.com (mirtzi)]]></author>
			<pubDate>Wed, 25 Jun 2008 16:08:59 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=66338#p66338</guid>
		</item>
		<item>
			<title><![CDATA[Re: Image uploads and resizing for Rails models with mini-magick]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=66336#p66336</link>
			<description><![CDATA[<p>Hi all.<br />I have a problem, I hope you can help me...<br />I get the error:<br />/bin/sh: identify: not found<br />ImageMagick command (identify &quot;/tmp/d56242f4d5cb7920becf1712dc369132_minimagick8458-94.jpg&quot;) failed: Error Given 32512 <br />on this line<br />mini_magick.rb:124:in `run_command&#039;<br />P.S. My OS is Ubuntu 8.04.</p>]]></description>
			<author><![CDATA[dummy@example.com (mirtzi)]]></author>
			<pubDate>Wed, 25 Jun 2008 16:01:57 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=66336#p66336</guid>
		</item>
		<item>
			<title><![CDATA[Re: Image uploads and resizing for Rails models with mini-magick]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=59860#p59860</link>
			<description><![CDATA[<div class="quotebox"><cite>leomayleomay wrote:</cite><blockquote><p>I followed the steps given by the author strictly, it works except for the columns image_small, image_large, image_square, image_original are all nil and the image doesn&#039;t get showed (of course, nothing in the database).<br />I debugged with Netbeans, set break point at &quot;save&quot; method of Picture model, when I stepped to line 28, it jumped directly to line 45, I don&#039;t know why this happened, any info will be appreciated, thanks a lot.</p></blockquote></div><p>Hi leomayleomay,</p><p>the jump from line 28 to 45 it&#039;s because you didn&#039;t create folder products as ianare&nbsp; wrote:</p><div class="quotebox"><cite>ianare wrote:</cite><blockquote><p>You need to manually create this directory first #{RAILS_ROOT}/public/images/products/</p><p>worked for me, cheers!</p></blockquote></div><p>Try to comment the line with &quot;rescue&quot; and you should get an error.</p>]]></description>
			<author><![CDATA[dummy@example.com (michal)]]></author>
			<pubDate>Tue, 15 Apr 2008 22:45:24 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=59860#p59860</guid>
		</item>
		<item>
			<title><![CDATA[Re: Image uploads and resizing for Rails models with mini-magick]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=59622#p59622</link>
			<description><![CDATA[<p>I followed the steps given by the author strictly, it works except for the columns image_small, image_large, image_square, image_original are all nil and the image doesn&#039;t get showed (of course, nothing in the database).<br />I debugged with Netbeans, set break point at &quot;save&quot; method of Picture model, when I stepped to line 28, it jumped directly to line 45, I don&#039;t know why this happened, any info will be appreciated, thanks a lot.</p><br /><p>&nbsp; &nbsp;1.&nbsp; &nbsp; &nbsp;require &#039;mini_magick&#039;<br />&nbsp; &nbsp;2.&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp;3.&nbsp; &nbsp; &nbsp;class Picture<br />&nbsp; &nbsp;4.&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp;5.&nbsp; &nbsp; &nbsp; &nbsp;attr_accessor :id, :file<br />&nbsp; &nbsp;6.&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp;7.&nbsp; &nbsp; &nbsp; &nbsp;def initialize(id,file)<br />&nbsp; &nbsp;8.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@id = id<br />&nbsp; &nbsp;9.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@file = file<br />&nbsp; 10.&nbsp; &nbsp; &nbsp; &nbsp; @filename =&nbsp; base_part_of(file.original_filename)<br />&nbsp; 11.&nbsp; &nbsp; &nbsp; &nbsp; @content_type = file.content_type.chomp&nbsp; <br />&nbsp; 12.&nbsp; &nbsp; &nbsp; end<br />&nbsp; 13.&nbsp; &nbsp; &nbsp;<br />&nbsp; 14.&nbsp; &nbsp; &nbsp; def base_part_of(file_name)<br />&nbsp; 15.&nbsp; &nbsp; &nbsp; &nbsp;name = File.basename(file_name)<br />&nbsp; 16.&nbsp; &nbsp; &nbsp; &nbsp; name.gsub(/[^\w._-]/, &#039;&#039;)<br />&nbsp; 17.&nbsp; &nbsp; &nbsp; end<br />&nbsp; 18.&nbsp; &nbsp; &nbsp;<br />&nbsp; 19.&nbsp; &nbsp; &nbsp; def save<br />&nbsp; 20.&nbsp; &nbsp; &nbsp; &nbsp; is_saved = false<br />&nbsp; 21.&nbsp; &nbsp; &nbsp; &nbsp; begin<br />&nbsp; 22.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if @file<br />&nbsp; 23.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#using @id, find the id of the User, then use the id to create the title<br />&nbsp; 24.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if @content_type =~ /^image/<br />&nbsp; 25.&nbsp; &nbsp;#instead of product = Product.find, you can say dog = Dog.find or whatever corresponds to your model.<br />&nbsp; 26.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; current_product = Product.find(@id.to_i)<br />&nbsp; 27.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #Make the directory for the id<br />&nbsp; 28.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dir.mkdir(&quot;#{RAILS_ROOT}/public/images/products/#{@id}&quot;) unless File.exist?(&quot;#{RAILS_ROOT}/public/images/products/#{@id}&quot;)<br />&nbsp; 29.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #Then create the temp file<br />&nbsp; 30.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; File.open(&quot;#{RAILS_ROOT}/public/images/products/#{@id}/#{@filename}&quot;, &quot;wb&quot;) do |f|<br />&nbsp; 31.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;f.write(@file.read)<br />&nbsp; 32.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;end<br />&nbsp; 33.&nbsp; &nbsp; &nbsp; &nbsp;product_image_crop(&quot;#{@filename}&quot;)<br />&nbsp; 34.&nbsp; &nbsp; &nbsp; &nbsp;#update the current product<br />&nbsp; 35.&nbsp; &nbsp; &nbsp; &nbsp;image_names = product_image_names(&quot;#{@filename}&quot;)<br />&nbsp; 36.&nbsp; &nbsp; &nbsp; &nbsp;File.open(&quot;#{RAILS_ROOT}/public/yo.txt&quot;, &quot;wb&quot;) do |f|<br />&nbsp; 37.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;f.write(image_names)<br />&nbsp; 38.&nbsp; &nbsp; &nbsp; &nbsp;end<br />&nbsp; 39. current_product.update_attributes(&quot;image_square&quot; =&gt; image_names[0], &quot;image_small&quot; =&gt; image_names[1], &quot;image_medium&quot; =&gt; image_names[2], &quot;image_original&quot; =&gt; image_names[3])<br />&nbsp; 40.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;is_saved = true<br />&nbsp; 41.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;end<br />&nbsp; 42.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; end<br />&nbsp; 43.&nbsp; &nbsp; &nbsp; &nbsp;rescue<br />&nbsp; 44.&nbsp; &nbsp; &nbsp; &nbsp; end<br />&nbsp; 45.&nbsp; &nbsp; &nbsp; &nbsp; return is_saved<br />&nbsp; 46.&nbsp; &nbsp; &nbsp;end<br />&nbsp; 47.&nbsp; <br />&nbsp; 48.&nbsp; &nbsp;def product_image_crop(product_image_title)<br />&nbsp; 49.&nbsp; &nbsp;<br />&nbsp; 50.&nbsp; &nbsp; &nbsp;#product_title = product_title.squeeze.gsub(&quot; &quot;,&quot;_&quot;).downcase<br />&nbsp; 51.&nbsp; &nbsp; &nbsp;#find the extension for this file<br />&nbsp; 52.&nbsp; &nbsp; &nbsp;image_file_extension = product_image_title[product_image_title.rindex(&quot;.&quot;) .. product_image_title.length].strip.chomp<br />&nbsp; 53.&nbsp; &nbsp; &nbsp;image = MiniMagick::Image.from_file(&quot;#{RAILS_ROOT}/public/images/products/#{@id}/#{product_image_title}&quot;)<br />&nbsp; 54.&nbsp; &nbsp; <br />&nbsp; 55.&nbsp; &nbsp; &nbsp;image.resize &quot;400X300&quot;<br />&nbsp; 56.&nbsp; &nbsp; &nbsp;image.write(&quot;#{RAILS_ROOT}/public/images/products/#{@id}/#{@id}_medium#{image_file_extension}&quot;)&nbsp; <br />&nbsp; 57.&nbsp; <br />&nbsp; 58.&nbsp; &nbsp; &nbsp;image.resize &quot;240X180&quot;<br />&nbsp; 59.&nbsp; &nbsp; &nbsp;image.write(&quot;#{RAILS_ROOT}/public/images/products/#{@id}/#{@id}_small#{image_file_extension}&quot;) <br />&nbsp; 60.&nbsp; &nbsp; <br />&nbsp; 61.&nbsp; &nbsp; &nbsp;image.resize &quot;50X50&quot;<br />&nbsp; 62.&nbsp; &nbsp; &nbsp;image.write(&quot;#{RAILS_ROOT}/public/images/products/#{@id}/#{@id}_square#{image_file_extension}&quot;)<br />&nbsp; 63.&nbsp; <br />&nbsp; 64.&nbsp; &nbsp; &nbsp;#Finally, rename the originally uploaded image<br />&nbsp; 65.&nbsp; &nbsp; &nbsp;File.rename(&quot;#{RAILS_ROOT}/public/images/products/#{@id}/#{product_image_title}&quot;, &quot;#{RAILS_ROOT}/public/images/products/#{@id}/#{@id}_original#{image_file_extension}&quot;)<br />&nbsp; 66.&nbsp; <br />&nbsp; 67.&nbsp; &nbsp;end<br />&nbsp; 68.&nbsp; &nbsp; &nbsp;<br />&nbsp; 69.&nbsp; &nbsp;def product_image_names(product_image_title)<br />&nbsp; 70.&nbsp; &nbsp; &nbsp; image_file_extension = product_image_title[product_image_title.rindex(&quot;.&quot;) .. product_image_title.length].strip.chomp<br />&nbsp; 71.&nbsp; &nbsp; &nbsp;#Generate an array containing the url of all the images<br />&nbsp; 72.&nbsp; &nbsp; &nbsp; [&quot;/images/products/#{@id}/#{@id}_square#{image_file_extension}&quot;,&nbsp; &quot;/images/products/#{@id}/#{@id}_small#{image_file_extension}&quot;,&quot;/images/products/#{@id}/#{@id}_medium#{image_file_extension}&quot;,&nbsp; &quot;/images/products/#{@id}/#{@id}_original#{image_file_extension}&quot;]<br />&nbsp; 73.&nbsp; &nbsp; end<br />&nbsp; 74.&nbsp; &nbsp; &nbsp;<br />&nbsp; 75.&nbsp; &nbsp; end</p>]]></description>
			<author><![CDATA[dummy@example.com (leomayleomay)]]></author>
			<pubDate>Sun, 13 Apr 2008 14:51:23 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=59622#p59622</guid>
		</item>
		<item>
			<title><![CDATA[Re: Image uploads and resizing for Rails models with mini-magick]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=40271#p40271</link>
			<description><![CDATA[<p>Hi there!</p><p>Great tutorial that i try to apply to my application. <br />The thing is however that it does not work all the way described.<br />File gets uploaded, the record is sent to database but the image thumbs are not created. </p><p>Also i was wandering why do You check and try to open a yo.txt file? Could anyone please try explain this part to me?</p><p><pre name="code" class="ruby:nogutter"> image_names = product_image_names(&quot;#{@filename}&quot;)<br />&nbsp; &nbsp; &nbsp;File.open(&quot;#{RAILS_ROOT}/public/yo.txt&quot;, &quot;wb&quot;) do |f|<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;f.write(image_names)<br />&nbsp; &nbsp; &nbsp; &nbsp;endp</pre><br />And one last thing, is there any reasonable way to check the values of variables inside a model? Something similar to the debug() of controller variables? Some getter perhaps?</p><p>Any help would be much appreciated.</p><p>Best of luck</p><p>Michal</p>]]></description>
			<author><![CDATA[dummy@example.com (EdgeCrusher)]]></author>
			<pubDate>Wed, 26 Sep 2007 11:22:47 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=40271#p40271</guid>
		</item>
		<item>
			<title><![CDATA[Re: Image uploads and resizing for Rails models with mini-magick]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=35361#p35361</link>
			<description><![CDATA[<p>What if the user should have to upload an image? How can you check to see if the user actually have selected an image, ant not let the user submit the form without an image? </p><div class="quotebox"><cite>wowo wrote:</cite><blockquote><div class="quotebox"><cite>rajesh0363 wrote:</cite><blockquote><p>Hi,</p><p>I&#039;m getting this error message when loading the page.</p><p><strong>NoMethodError in PeopleController#new </strong><br /><em>undefined method `original_filename&#039; for #&lt;String:0x47a9c08&gt;...</em></p><p>My error is somewhere in this code block...<br /><pre name="code" class="ruby:nogutter"> def initialize(id,file)<br />&nbsp; &nbsp; &nbsp; &nbsp; @id = id<br />&nbsp; &nbsp; &nbsp; &nbsp; @file = file<br />&nbsp; &nbsp; &nbsp; &nbsp; @filename =&nbsp; base_part_of(file.original_filename)<br />&nbsp; &nbsp; &nbsp; &nbsp; @content_type = file.content_type.chomp<br />&nbsp; &nbsp; end<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; def base_part_of(file_name)<br />&nbsp; &nbsp; &nbsp; &nbsp; name = File.basename(file_name)<br />&nbsp; &nbsp; &nbsp; &nbsp; name.gsub(/[^\w\.\-]/,&#039;_&#039;)<br />&nbsp; &nbsp; end</pre><br />Does anyone know why am i getting this error message.</p><p>Any help would be highly appreciated.</p><p>Thanks &amp; best regards,</p><p>Rajesh</p></blockquote></div><p>Hi Rajesh,<br />I suppose, that you have no file selected for upload. In this case there is no metadata available for the content_type and the original_filename attributes.<br />To solve this problem, I just have checked for the presence of the file. If there is no file present you don&#039;t have to initialize anything.</p><p><pre name="code" class="ruby:nogutter"> def initialize(id,file)<br />&nbsp; &nbsp; &nbsp; &nbsp; if file != &quot;&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @id = id<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @file = file<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @filename =&nbsp; base_part_of(file.original_filename)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @content_type = file.content_type.chomp&nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; end&nbsp; <br />&nbsp; &nbsp; &nbsp;end</pre><br />THat&#039;s all. This should work. </p><p>Best wishes,<br />wowo</p></blockquote></div>]]></description>
			<author><![CDATA[dummy@example.com (Hans_Oslo)]]></author>
			<pubDate>Wed, 15 Aug 2007 10:54:38 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=35361#p35361</guid>
		</item>
		<item>
			<title><![CDATA[Re: Image uploads and resizing for Rails models with mini-magick]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=34082#p34082</link>
			<description><![CDATA[<p>The link <a href="http://www.campdojo.com/assets/zip/mage.zip">http://www.campdojo.com/assets/zip/mage.zip</a> don&#039;t work. Is there anyone that still have it?</p>]]></description>
			<author><![CDATA[dummy@example.com (G.Lindqvist)]]></author>
			<pubDate>Sat, 04 Aug 2007 13:19:31 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=34082#p34082</guid>
		</item>
		<item>
			<title><![CDATA[Re: Image uploads and resizing for Rails models with mini-magick]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=31702#p31702</link>
			<description><![CDATA[<div class="quotebox"><cite>20dreamer wrote:</cite><blockquote><p>I have everything done, but I found the application not working...</p><p>when selected the files, then press &quot;submit&quot;, i think it dose goes through the picture.rb correctly, but it does not create any directory or do anything to enter sth to the images columns in the table, and there are no files uploaded at all..</p><p>Any clues for the problem??<br />Thanks!</p></blockquote></div><p>You need to manually create this directory first #{RAILS_ROOT}/public/images/products/</p><p>worked for me, cheers!</p>]]></description>
			<author><![CDATA[dummy@example.com (ianare)]]></author>
			<pubDate>Wed, 18 Jul 2007 06:21:47 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=31702#p31702</guid>
		</item>
		<item>
			<title><![CDATA[Re: Image uploads and resizing for Rails models with mini-magick]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=31094#p31094</link>
			<description><![CDATA[<p>This works great, thanks! One question though:</p><p>How can I validate the image upload field in the form when register a new article? </p><p>This is my form: </p><p><pre name="code" class="ruby:nogutter">&lt;input type=&quot;hidden&quot; id=&quot;picture_id&quot; value=&quot;&lt;%= @article.id %&gt;&quot; name=&quot;picture[id]&quot;/&gt;<br />&lt;input type=&quot;file&quot; id=&quot;picture_file&quot;&nbsp; name=&quot;picture[file]&quot;/&gt;</pre><br />I have tried the following in my article-model to validate the image-field without any luck:</p><p><pre name="code" class="ruby:nogutter">validates_presence_of :picture</pre><br /><pre name="code" class="ruby:nogutter">validates_presence_of :file</pre><br /><pre name="code" class="ruby:nogutter">validates_presence_of :picture[file]</pre><br />Since the fields in my database is named image_square, image_small, image_medium, image_original, I have also tried this:<br /><pre name="code" class="ruby:nogutter">validates_presence_of :image_square, :image_small, :image_medium, :image_original</pre><br />Nothing seems to work. Anyone got some input on this? Isn&#039;t it possible to validate a file-field with &quot;validates_presence_of&quot; ?</p>]]></description>
			<author><![CDATA[dummy@example.com (Hans_Oslo)]]></author>
			<pubDate>Fri, 13 Jul 2007 11:27:26 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=31094#p31094</guid>
		</item>
		<item>
			<title><![CDATA[Re: Image uploads and resizing for Rails models with mini-magick]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=30360#p30360</link>
			<description><![CDATA[<p>I have everything done, but I found the application not working...</p><p>when selected the files, then press &quot;submit&quot;, i think it dose goes through the picture.rb correctly, but it does not create any directory or do anything to enter sth to the images columns in the table, and there are no files uploaded at all..</p><p>Any clues for the problem??<br />Thanks!</p>]]></description>
			<author><![CDATA[dummy@example.com (20dreamer)]]></author>
			<pubDate>Sun, 08 Jul 2007 10:29:31 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=30360#p30360</guid>
		</item>
		<item>
			<title><![CDATA[Re: Image uploads and resizing for Rails models with mini-magick]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=26843#p26843</link>
			<description><![CDATA[<p>Thanks Wowo...</p>]]></description>
			<author><![CDATA[dummy@example.com (rajesh0363)]]></author>
			<pubDate>Tue, 12 Jun 2007 19:36:04 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=26843#p26843</guid>
		</item>
	</channel>
</rss>
