# Input File Issue

**URL:** <https://forum.kirupa.com/t/input-file-issue/230457>\
**Category:** Uncategorized\
**Created:** [June 26, 2007, 1:08pm UTC](https://forum.kirupa.com/t/input-file-issue/230457 "2007-06-26T13:08:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![evilcoathanger](https://avatars.discourse-cdn.com/v4/letter/e/f07891/32.png) [@evilcoathanger](https://forum.kirupa.com/u/evilcoathanger)\
**Post date:** [June 26, 2007, 1:08pm UTC](https://forum.kirupa.com/t/input-file-issue/230457/1 "2007-06-26T13:08:03Z")

</div>

I’m trying to have an Input File field that ONLY accepts .jpg files. Now, I’ve tried the following code in many different ways in IE7, but no luck. Any suggestions?

```auto
<input type="file" accept="*.jpg">
<input type="file" accept="image/jpeg">

```
