# How to put uploaded images into a static directory?

**URL:** <https://www.ruby-forum.com/t/how-to-put-uploaded-images-into-a-static-directory/76369>\
**Category:** Rails\
**Created:** [November 18, 2006, 12:39am UTC](https://www.ruby-forum.com/t/how-to-put-uploaded-images-into-a-static-directory/76369 "2006-11-18T00:39:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rob](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/838e76/32.png) [@rob](https://www.ruby-forum.com/u/rob)\
**Post date:** [November 18, 2006, 12:39am UTC](https://www.ruby-forum.com/t/how-to-put-uploaded-images-into-a-static-directory/76369/1 "2006-11-18T00:39:45Z")

</div>

I’m going to be developing an app that I’d like to have a regular form  
where you can upload a single image with it, but then I’d like the  
image to be put in a static directory (like public) so the main server  
(not mongrel for example) can serve it fast. Anyone know the easiest  
way to go about doing this?

Sorry, am kind of new to rails…

Thanks  
rob

---

<div class="post-metadata">

**Author:** ![rob](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/838e76/32.png) [@rob](https://www.ruby-forum.com/u/rob)\
**Post date:** [November 18, 2006, 12:43am UTC](https://www.ruby-forum.com/t/how-to-put-uploaded-images-into-a-static-directory/76369/2 "2006-11-18T00:43:46Z")

</div>

Easiest is probably to use the file\_column library

[http://www.kanthak.net/opensource/file\_column/](http://www.kanthak.net/opensource/file_column/)
