pqina / filepond-plugin-image-preview

🖼 Show a preview for images dropped on FilePond
https://pqina.nl/filepond
MIT License
47 stars 26 forks source link

Preview doesn't work if the JPEG image doesn't have an EOI marker #43

Open varunnayak opened 3 years ago

varunnayak commented 3 years ago

If you try to upload an image which doesn't have an EOI marker blank preview is shown. This also effects the transform plugin when exif orientation correction is involved. I have tested on the Live Demo on Code Sandbox on Chrome (Version 86.0.4240.198) MacOS Catlina and Android 10 sample

rikschennink commented 3 years ago

I've never ran into this issue. FilePond can render PNGs and bitmaps as well, and loads JPEGS without exif info. Please create a public test case and supply more information (browser version and os version you tested on). Will close until more details provided.

varunnayak commented 3 years ago

I've never ran into this issue. FilePond can render PNGs and bitmaps as well, and loads JPEGS without exif info. Please create a public test case and supply more information (browser version and os version you tested on). Will close until more details provided.

Do you need any more information?

rikschennink commented 3 years ago

@varunnayak the link doesn't point to codesandbox

varunnayak commented 3 years ago

@varunnayak the link doesn't point to codesandbox

Have updated it. Its the same demo from react-filepond

rikschennink commented 3 years ago

Ah I see. Okay, will look into it.

varunnayak commented 3 years ago

@rikschennink Thanks. This issue is common with Panoramas captured using Samsung phones

rikschennink commented 3 years ago

Finally had some more time to look into this, the problem doesn't appear on Firefox and Safari, it seems to be a Chrome/Blink issue. With a normal image tag Chrome also doesn't always render the image. I'm removing the "bug" label as it seems this is a Chrome issue.