How to filter by image files in file chooser


#1

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
pngs.

thanks in advance!