# Attaching file from photo library vs taking new photo

**URL:** <https://community.gravityforms.com/t/attaching-file-from-photo-library-vs-taking-new-photo/13147>\
**Category:** Get Help\
**Tags:** file-uploads, email, post-image, photo-library, iphone\
**Created:** [July 29, 2022, 5:39pm UTC](https://community.gravityforms.com/t/attaching-file-from-photo-library-vs-taking-new-photo/13147 "2022-07-29T17:39:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bherwig](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@bherwig](https://community.gravityforms.com/u/bherwig)\
**Post date:** [July 29, 2022, 5:39pm UTC](https://community.gravityforms.com/t/attaching-file-from-photo-library-vs-taking-new-photo/13147/1 "2022-07-29T17:39:43Z")

</div>

Our techs are filling out Gravity Forms out in the field, all with iPhones. They are required to send a photo of the problem they are seeing.

I’m using the **Post Image** field.

What we’re seeing when our techs click the button, it gives them 3 options.

Photo Library, Take Photo or Video, and Choose File (…nobody uses Chose File)

If they send a photo from their Photo Library, the image preview does NOT show in the email.

BUT

If they take a photo, it does. (see below)

I can see on the backend all the files go into the media library.

**What’s the difference? What’s going on, and is there a way to fix it?**

**Is this a WordPress thing, a Gravity Forms thing or an iOS thing?**

 ![Screenshot at Jul 29 10-34-22](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/f/fdb5804b43511a316507fd056a3b71cbff695b03.jpeg)

---

<div class="post-metadata">

**Author:** ![nupa](https://avatars.discourse-cdn.com/v4/letter/n/a698b9/32.png) [@nupa](https://community.gravityforms.com/u/nupa)\
**Post date:** [July 29, 2022, 6:37pm UTC](https://community.gravityforms.com/t/attaching-file-from-photo-library-vs-taking-new-photo/13147/2 "2022-07-29T18:37:42Z")

</div>

> **[WP Extra File Types](https://wordpress.org/plugins/wp-extra-file-types/)**
>
> Plugin to let you extend the list of allowed file types supported by the Wordpress Media Library

have you tried this script

 ![Screen Shot 2022-07-29 at 21.35.50](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/7/7442b61d4d7e8df184521f26d0f43de7aa370800.png)

---

<div class="post-metadata">

**Author:** ![bherwig](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@bherwig](https://community.gravityforms.com/u/bherwig)\
**Post date:** [August 5, 2022, 7:49pm UTC](https://community.gravityforms.com/t/attaching-file-from-photo-library-vs-taking-new-photo/13147/3 "2022-08-05T19:49:55Z")

</div>

In both cases, we’re attaching .jpg files…so it’s not the file type that is the issue. It’s the way iOS OR gravity forms treat attached files vs a new photo.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/f/fef63f0599c45e0218c30d9f5d7ca8bff9b00189.png) [@system](https://community.gravityforms.com/u/system)\
**Post date:** [September 4, 2022, 7:50pm UTC](https://community.gravityforms.com/t/attaching-file-from-photo-library-vs-taking-new-photo/13147/4 "2022-09-04T19:50:31Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
