[wp-trac] [WordPress Trac] #62268: Chrome: Unable to upload HEIC image through post editor

WordPress Trac noreply at wordpress.org
Mon Oct 21 22:19:22 UTC 2024


#62268: Chrome: Unable to upload HEIC image through post editor
----------------------------+--------------------
 Reporter:  ironprogrammer  |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  6.7
Component:  Media           |    Version:  trunk
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+--------------------
 Using Chrome's built-in upload functionality when inserting an HEIC image
 with the **post editor**, files of type HEIC are disabled for selection.
 However, files can be added through drag-n-drop on the Image block, or
 added through the media library either with the upload or multi-file
 feature. This issue occurs regardless of server-side HEIC support (i.e.
 availability of ImageMagick.)

 Originally reported at
 https://github.com/WordPress/twentytwentyfive/issues/583.

 == Testing Instructions

 === Steps to Reproduce
 1. In Chrome, add a new post.
 2. Add an Image block, and select "Upload".
 3. 🐞 Observe that HEIC images cannot be selected for upload.

 === Expected Results
 When testing a patch to validate it works as expected:
 - ✅ Though Chrome cannot display HEIC natively, it should be an allowed
 filetype in the browser uploader. This is consistent with
 [https://make.wordpress.org/core/2024/08/15/automatic-conversion-of-heic-
 images-to-jpeg-in-wordpress-6-7/ 6.7 support for this media type].

 When reproducing the bug:
 - ❌ HEIC files are not selectable for upload.

 === Supplemental Artifacts
 [[Image(https://cldup.com/sKhESRAG3l.thumb.png)]]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62268>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list