# HEVC images and error message Discourse::InvalidAccess

**URL:** <https://meta.discourse.org/t/hevc-images-and-error-message-discourse-invalidaccess/287964>\
**Category:** Feature\
**Created:** [December 8, 2023, 12:55pm UTC](https://meta.discourse.org/t/hevc-images-and-error-message-discourse-invalidaccess/287964 "2023-12-08T12:55:17Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Roi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roi/32/130587_2.png) [@Roi](https://meta.discourse.org/u/Roi)\
**Post date:** [December 8, 2023, 12:55pm UTC](https://meta.discourse.org/t/hevc-images-and-error-message-discourse-invalidaccess/287964/1 "2023-12-08T12:55:17Z")

</div>

Hello all,

I tried to upload some images into a post and always got the message `Discourse::InvalidAccess`.

When I looked closer, I noticed that the JPG files use the HEVC compression. Then I remembered that I made the photos with an iPhone and edited the photos before sending them out via email.  
Uploading the photos after resaving them as JPG file on Windows worked. So it has to be something with the HEVC compression. Maybe the file extension `.jpeg` which Apple Mail chose is not okay, too?

Anyway, the error message is not user friendly when it comes to “normal” users. Is there a way to change that?

Also, is it possible to support HEVC in Discourse?

Regards

---

_[View the full topic](https://meta.discourse.org/t/hevc-images-and-error-message-discourse-invalidaccess/287964)._
