Forum: Ruby on Rails how to filter by image files in file chooser

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
dan kuwachi (Guest)
on 2007-03-14 02:17
(Received via mailing list)
Currently i'm uploading files and i have a file chooser..

<%= file_field('upload', 'filename') %>

Is it possible when the file chooser comes up to filter by image
type?  Because I only want the users to upload, jpgs, gifs, tiffs, or

thanks in advance!
This topic is locked and can not be replied to.