[wp-trac] [WordPress Trac] #42775: Support uploading files in HEIF and HEVC formats
WordPress Trac
noreply at wordpress.org
Fri Jun 26 13:18:46 UTC 2020
#42775: Support uploading files in HEIF and HEVC formats
---------------------------------+---------------------------------
Reporter: mattheweppelsheimer | Owner: (none)
Type: enhancement | Status: reopened
Priority: normal | Milestone: 5.5
Component: Upload | Version:
Severity: minor | Resolution:
Keywords: needs-patch | Focuses: ui, administration
---------------------------------+---------------------------------
Comment (by andraganescu):
So the way to stumble upon WordPress not supporting this format is this:
- shoot a _live_ photo on your phone with at least iOS 11
- have is synced to your iCloud Photos
- using a browser (Safari) go to your iCloud and open the cloud Photos
- open your photo and download using the top bar download button
This will result in an "iCloud Photos" in the Dowloads folder (at least on
OSX it will) and in that folder you'll get a heic file and a mov file.
Attempting to upload this file will not work on stock WordPress.
Uploading directly to stock WordPress' Media Library will work as Safari
(tested with Firefox mobile as well) will convert the file to jpeg
directly on upload.
Since browsers don't support these formats at all, but users expect them
to work as normal images I suspect there should be a flow like:
- user uploads these formats
- server side we convert to something browsers can display
- we show the converted (?) file in media library and default attachment
pages to that
- we keep (or not?) the original and if we do keep we should link the
converted file to the original
That would be smooth and expected. The other option is to simply let these
files be uploaded.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42775#comment:36>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list