filter images through file extension