# How to upload only photos but not any files in to ror applic

**URL:** <https://www.ruby-forum.com/t/how-to-upload-only-photos-but-not-any-files-in-to-ror-applic/123492>\
**Category:** Rails\
**Created:** [December 18, 2007, 6:19am UTC](https://www.ruby-forum.com/t/how-to-upload-only-photos-but-not-any-files-in-to-ror-applic/123492 "2007-12-18T06:19:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dvk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/d78d45/32.png) [@dvk](https://www.ruby-forum.com/u/dvk)\
**Post date:** [December 18, 2007, 6:19am UTC](https://www.ruby-forum.com/t/how-to-upload-only-photos-but-not-any-files-in-to-ror-applic/123492/1 "2007-12-18T06:19:06Z")

</div>

Hii  
i hav been learning this from few days.  
I was doing a module on uploading photos.  
I reuired to upload photos in to our application and NOTE is only photos  
in each and every format like jpeg,gif must upload but not any other  
files or folders.  
Kindly Send me the exact code as early as possible,then i can do it in a  
short  
period.I hope i wil get replies very soon…

Thank u so much inadvance…  
Hav a nice time
