How to filter by image files in file chooser

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!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs