RESOLVED FIXED292041
[Quirk] Allow users to upload HEIC images on zillow.com
https://bugs.webkit.org/show_bug.cgi?id=292041
Summary [Quirk] Allow users to upload HEIC images on zillow.com
Karl Dubost
Reported 2025-04-24 18:02:21 PDT
This bug is to add a Quirk for the zillow domain so that users do not have to switch context to use the app to upload HEIC images. Context: When users of the zillow websites want to upload an HEIC images, they get a message saying: > HEIC format is not supported on web. Please download the Zillow Rental Manager App to upload, or convert the files to .png, .jpg, .jpeg, or .gif to upload. WebKit added the possibility to automatically convert the HEIC image format to one that the site accepts. https://github.com/WebKit/WebKit/commit/1fd3fe3f407ad3cbc9fde83b03a9a0641e6d3e58 The current input on the zillow website is <input accept="image/*" multiple="" type="file" tabindex="-1" style="display: none;"> To benefit from WebKit capability to auto-convert the file to the format of website choice, it is necessary to specify in the accept attribute, the accepted format, for example: accept="image/jpeg, image/png, image/gif" Notes: 1. the first mime-type in the list will force the conversion for HEIC images to the first format on the list. The order of mime types on accept matters. 2. It will have no effect if someone is trying to load a format already supported. So a user trying to upload a PNG will leave it as PNG.
Attachments
Karl Dubost
Comment 1 2025-04-24 18:03:59 PDT
Karl Dubost
Comment 2 2025-04-30 05:27:36 PDT
EWS
Comment 3 2025-05-09 13:02:19 PDT
Committed 294726@main (ac5ea97ba273): <https://commits.webkit.org/294726@main> Reviewed commits have been landed. Closing PR #44741 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.