Body: <p>On a live environment I'm hitting an error when uploading some jpg images, which wasn't a problem on dev or production.</p>
  
  <p>I can get around it by re-exporting the image out and keeping it under 1mb, but as the site has a form with an upload field I need to figure out what the environment issue could be with being picky over these.
  Where should I start?</p>
  
  <p>This happens whenever I try to upload problematic images, not just from the front-end form field, but also directly into Crafts Assets.
  The file name in the error message is also not what the actual file name is - it looks like it creates some temp name for it. </p>
  
  <p><a href="https://i.sstatic.net/FoMKb.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/FoMKb.jpg" alt="enter image description here"></a> </p>
  
  <p>EDIT: Found out that the server doesn't have Imagick installed but has GD 7.2.17. Could this be the issue?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-11-21T11:17:20.050Z
Comments.Text: Have you tried re-saving the actual image using Photoshop or similar? Is it possible that the original file, for example has a .jpg extension but it's actually a different file type?
Comments.UserDisplayName: darylknight
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-11-21T15:14:12.583Z
Comments.Text: Yes re-saving it in PS and keeping it small did help. However I can't call that the solution as there is a front-end form with an upload, and the other environments I had this site on previously didn't have this issue.
Comments.UserDisplayName: sarah3585
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-11-22T15:43:43.433Z
Comments.Text: I've found the same issue with uploading photos from an iPhone. Possibily due to the HEIC format Apple now uses?
Comments.UserDisplayName: sarah3585
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-11-23T00:23:45.597Z
Comments.Text: Imagick does support a much larger range of image formats and extensions, so I'd probably start there. Other things to check: https://craftcms.com/guides/troubleshooting-unsuccessful-file-uploads
Comments.UserDisplayName: Brad Bell
Tags: <assets><error><imagick><gd>
Title: Internal Server Error - The file does not appear to be an image
ThreadText: # Internal Server Error - The file does not appear to be an image
  
  (Asked by: username_0 on 2019-11-20)
  
  On a live environment I'm hitting an error when uploading some jpg images, which wasn't a problem on dev or production.
  
  I can get around it by re-exporting the image out and keeping it under 1mb, but as the site has a form with an upload field I need to figure out what the environment issue could be with being picky over these.
  Where should I start?
  
  This happens whenever I try to upload problematic images, not just from the front-end form field, but also directly into Crafts Assets.
  The file name in the error message is also not what the actual file name is - it looks like it creates some temp name for it.
  
  [![enter image description here](https://i.sstatic.net/FoMKb.jpg)](https://i.sstatic.net/FoMKb.jpg)
  
  EDIT: Found out that the server doesn't have Imagick installed but has GD 7.2.17. Could this be the issue?
  
  **Tags:** assets, error, imagick, gd
  
  > **Comments:**
  > **username_1**: Have you tried re-saving the actual image using Photoshop or similar? Is it possible that the original file, for example has a .jpg extension but it's actually a different file type?  
  > **username_0**: Yes re-saving it in PS and keeping it small did help. However I can't call that the solution as there is a front-end form with an upload, and the other environments I had this site on previously didn't have this issue.  
  > **username_0**: I've found the same issue with uploading photos from an iPhone. Possibily due to the HEIC format Apple now uses?  
  > **username_2**: Imagick does support a much larger range of image formats and extensions, so I'd probably start there. Other things to check: https://craftcms.com/guides/troubleshooting-unsuccessful-file-uploads  
  
  ---
  
  ## 0 answers
  
  