abetts Posted January 29, 2018 Posted January 29, 2018 I'm an Android man so aren't that au faux with this but will iPhone users on iOS 11 are posting images from their phones and they are coming up as links rather than image embeds. Is there a way to fix this please?
abetts Posted January 29, 2018 Author Posted January 29, 2018 https://www.thelotusforums.com/forums/topic/93476-new-evora-owner/?do=findComment&comment=762761
opentype Posted January 29, 2018 Posted January 29, 2018 HEIC is not a standard web image format at this point. So the behavior is normal and it can’t be “fixed”.
Joy Rex Posted January 29, 2018 Posted January 29, 2018 I would think you'd need some sort of javascript-powered polyfill to make this work... And, lo and behold, there is: https://github.com/nokiatech/heif
abetts Posted January 29, 2018 Author Posted January 29, 2018 iPhones are fairly popular so I'd hope Invision would include this format at some point soon.
Nathan Explosion Posted January 29, 2018 Posted January 29, 2018 5 hours ago, Joy Rex said: I would think you'd need some sort of javascript-powered polyfill to make this work... And, lo and behold, there is: https://github.com/nokiatech/heif It's a lot easier than that - just need to add heic as an additional image type in the $imageExtensions that are listed in \IPS\Image. Plugin sent to the OP - going to see if I can refine it a bit though.
opentype Posted January 29, 2018 Posted January 29, 2018 12 minutes ago, Nathan Explosion said: just need to add heic as an additional image type in the $imageExtensions that are listed in \IPS\Image. What does that achieve? Telling the IPS software it’s an image format doesn’t change the missing browser support. Or do you change what is uploaded? I don’t get it.
Nathan Explosion Posted January 29, 2018 Posted January 29, 2018 16 minutes ago, opentype said: What does that achieve? Telling the IPS software it’s an image format doesn’t change the missing browser support. Or do you change what is uploaded? I don’t get it. If the browser supports it, it will display - support for the format is gradually coming in, and I think the link you posted earlier isn't correctly indicative of the current support state. Example - using Firefox Quantum 57.0.4 without plugin: With plugin: It's not ideal though - got a few ideas on improving the behaviour for browsers that don't support it but will take a look at a later point.
Joy Rex Posted January 30, 2018 Posted January 30, 2018 On 1/29/2018 at 10:34 AM, abetts said: iPhones are fairly popular so I'd hope Invision would include this format at some point soon. Yes, but I don't think Safari Mobile (on iOS) supports the image format yet - nope: https://caniuse.com/#feat=heif 23 hours ago, Nathan Explosion said: It's a lot easier than that - just need to add heic as an additional image type in the $imageExtensions that are listed in \IPS\Image. Plugin sent to the OP - going to see if I can refine it a bit though. Plugin? an IPS plugin, or browser plugin?
opentype Posted January 30, 2018 Posted January 30, 2018 Frankly, the best option at this point would be to advice your iPhone users not to upload this format. It’s just not meant to be used this way. All apps on iOS convert it to a standard format like JPG while sharing. Not sure how this can be done in a browser upload form. I guess the image libraries (GD/ImageMagick) would need to support it first for a conversion, but that will also take years to reach a broad support.
Nathan Explosion Posted January 30, 2018 Posted January 30, 2018 That's the thing...it's easy getting the IPS suite to handle it as an image, but more difficult to get browsers to support it. Similar situation to my HTML5 player...browser support and behaviour.
motomac Posted September 11, 2018 Posted September 11, 2018 +1 need HEIC and WebP support. @Matt, @Lindy please, take a look.
Rhett Posted September 11, 2018 Posted September 11, 2018 If you upload the image from your phone, IOS converts this to a usable format, this user must be manually transferring the images from his phone to a PC/Mac then trying to upload them? Please check with him and see. I can't duplicate any issues directly uploading from the phone though.
bfarber Posted September 24, 2018 Posted September 24, 2018 I've never seen this behavior in real world usage. It's also important to note that the backend is restricted by the image formats supported by the image library, and since most users use GD (which doesn't support HEIF) then you can't just throw the extension into the image formats array and expect everything else to work fine. I believe ImageMagick does support HEIF (at least newer versions). The easiest solution for now might be to just tell your users to use regular jpgs. https://petapixel.com/2017/09/25/make-iphone-shoot-jpegs-ios-11/
Recommended Posts
Archived
This topic is now archived and is closed to further replies.