# Problem with Upload\_Column in uploading images

**URL:** <https://www.ruby-forum.com/t/problem-with-upload-column-in-uploading-images/176508>\
**Category:** Ruby\
**Created:** [October 1, 2009, 1:35pm UTC](https://www.ruby-forum.com/t/problem-with-upload-column-in-uploading-images/176508 "2009-10-01T13:35:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![indu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/eada6e/32.png) [@indu](https://www.ruby-forum.com/u/indu)\
**Post date:** [October 1, 2009, 1:35pm UTC](https://www.ruby-forum.com/t/problem-with-upload-column-in-uploading-images/176508/1 "2009-10-01T13:35:50Z")

</div>

Hello everyone,  
I am using upload\_cloumn for uploading images. Problem is that the  
thumbnails are not creating. If I do not specify the file name option in  
the following code, thumbnails will be created. Any one pls help me to  
understand what is wrong with the following code? Please help.

image\_column :photo,:store\_dir =\> “userprofile”,:versions =\>{:thumb =\>  
“50x50”,:large =\> “200x300”} ,:filename =\> proc{|record, file|  
“#{record.id}-#{record.login}.#{file.extension}”}

Thanks in advance,  
Indu
